projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b86f7f
)
bridge: Cleanup of unncessary check.
author
Rami Rosen
<ramirose@gmail.com>
Sat, 6 Sep 2014 10:08:08 +0000
(13:08 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Sep 2014 18:32:11 +0000
(11:32 -0700)
This patch removes an unncessary check in the br_afspec() method of
br_netlink.c.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_netlink.c
b/net/bridge/br_netlink.c
index 7c97a261afae88a2c5ab85e73d69fb0a1f9fbb8b..90a91e137acc3112004a4108abb68371919fa2be 100644
(file)
--- 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: