diff mbox

[net-next] bridge: Cleanup of unncessary check.

Message ID 1409998088-12938-1-git-send-email-ramirose@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Rami Rosen Sept. 6, 2014, 10:08 a.m. UTC
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(-)

Comments

David Miller Sept. 9, 2014, 6:32 p.m. UTC | #1
From: Rami Rosen <ramirose@gmail.com>
Date: Sat,  6 Sep 2014 13:08:08 +0300

> This patch removes an unncessary check in the br_afspec() method of
> br_netlink.c.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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: