diff options
author | Rami Rosen <ramirose@gmail.com> | 2014-09-06 12:08:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 20:32:11 +0200 |
commit | 5aaa62d608464bedb30afc62e5073629de505afb (patch) | |
tree | 3393cee32580ee3d19bb2d7a22c939f8396f8f59 /net/bridge/br_netlink.c | |
parent | Merge branch 'bridge_rtnl_link' (diff) | |
download | linux-5aaa62d608464bedb30afc62e5073629de505afb.tar.xz linux-5aaa62d608464bedb30afc62e5073629de505afb.zip |
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>
Diffstat (limited to 'net/bridge/br_netlink.c')
-rw-r--r-- | net/bridge/br_netlink.c | 3 |
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: |