projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b86f7f
)
bridge: Cleanup of unncessary check.
author
Rami Rosen
<ramirose@gmail.com>
Sat, 6 Sep 2014 10:08:08 +0000
(13:08 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Sep 2014 18:32:11 +0000
(11:32 -0700)
This patch removes an unncessary check in the br_afspec() method of
br_netlink.c.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_netlink.c
b/net/bridge/br_netlink.c
index
7c97a26
..
90a91e1
100644
(file)
--- a/
net/bridge/br_netlink.c
+++ b/
net/bridge/br_netlink.c
@@
-257,9
+257,6
@@
static int br_afspec(struct net_bridge *br,
} else
err = br_vlan_add(br, vinfo->vid, vinfo->flags);
- if (err)
- break;
-
break;
case RTM_DELLINK: