Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aaa62d6 authored by Rami Rosen's avatar Rami Rosen Committed by David S. Miller
Browse files

bridge: Cleanup of unncessary check.



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

Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b86f7f3
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -257,9 +257,6 @@ static int br_afspec(struct net_bridge *br,
			} else
			} else
				err = br_vlan_add(br, vinfo->vid, vinfo->flags);
				err = br_vlan_add(br, vinfo->vid, vinfo->flags);


			if (err)
				break;

			break;
			break;


		case RTM_DELLINK:
		case RTM_DELLINK: