summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2014-09-06 13:08:08 +0300
committerDavid S. Miller <davem@davemloft.net>2014-09-09 11:32:11 -0700
commit5aaa62d608464bedb30afc62e5073629de505afb (patch)
tree3393cee32580ee3d19bb2d7a22c939f8396f8f59
parent8b86f7f319330cf2c8ce13f36fa3b13828011daa (diff)
bridge: Cleanup of unncessary check.
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>
-rw-r--r--net/bridge/br_netlink.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index 7c97a261afae..90a91e137acc 100644
--- 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: