* [PATCH net-next] bridge: Cleanup of unncessary check.
@ 2014-09-06 10:08 Rami Rosen
2014-09-09 18:32 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2014-09-06 10:08 UTC (permalink / raw)
To: davem; +Cc: netdev, Rami Rosen
This patch removes an unncessary check in the br_afspec() method of
br_netlink.c.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
net/bridge/br_netlink.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index cb5fcf6..823db3a 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:
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-09 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-06 10:08 [PATCH net-next] bridge: Cleanup of unncessary check Rami Rosen
2014-09-09 18:32 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox