diff options
author | Rami Rosen <ramirose@gmail.com> | 2014-09-06 13:08:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 11:32:11 -0700 |
commit | 5aaa62d608464bedb30afc62e5073629de505afb (patch) | |
tree | 3393cee32580ee3d19bb2d7a22c939f8396f8f59 /net/bridge | |
parent | 8b86f7f319330cf2c8ce13f36fa3b13828011daa (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>
Diffstat (limited to 'net/bridge')
-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 7c97a261afa..90a91e137ac 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: |