Skip to content

Commit

Permalink
bridge: Cleanup of unncessary check.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rami Rosen authored and David S. Miller committed Sep 9, 2014
1 parent 8b86f7f commit 5aaa62d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/bridge/br_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5aaa62d

Please sign in to comment.