bridge: Cleanup of unncessary check.
authorRami Rosen <ramirose@gmail.com>
Sat, 6 Sep 2014 10:08:08 +0000 (13:08 +0300)
committerDavid 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

index 7c97a261afae88a2c5ab85e73d69fb0a1f9fbb8b..90a91e137acc3112004a4108abb68371919fa2be 100644 (file)
@@ -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: