Skip to contentSkip to conversation

bridge: Cleanup of unncessary check.

PATCH Applied Rami Rosen 2 participants 2 messages Sep 6, 2014 – Sep 9, 2014

Subsystems (3)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 bridge: Cleanup of unncessary check.

This patch removes an unncessary check in the br_afspec() method of br_netlink.c.

---
 net/bridge/br_netlink.c | 3 ---
 1 file changed, 3 deletions(-)
net/bridge/br_netlink.c +0 -3
index cb5fcf6..823db3a 100644
@@ -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:
Signature · 1 line
1.9.0