All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [PATCH net-next] bridge: Cleanup of unncessary check.
  2014-09-06 10:08 [PATCH net-next] bridge: Cleanup of unncessary check Rami Rosen
@ 2014-09-09 18:32 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-09-09 18:32 UTC (permalink / raw)
  To: ramirose; +Cc: netdev

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.

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.