projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c04ec80
)
bridge: Remove redundant npinfo NULL setting
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 10 Jun 2010 16:12:43 +0000
(16:12 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 15 Jun 2010 17:58:38 +0000
(10:58 -0700)
Now that netpoll always zaps npinfo we no longer need to do it
in bridge.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_device.c
b/net/bridge/br_device.c
index b898364beaf502ab4b0e8da6aeb991a9c70c3497..f8cb908db81fb9217484d9f7a2c444cae4f2c7fa 100644
(file)
--- a/
net/bridge/br_device.c
+++ b/
net/bridge/br_device.c
@@
-231,7
+231,6
@@
void br_netpoll_cleanup(struct net_device *dev)
struct net_bridge_port *p, *n;
const struct net_device_ops *ops;
- br->dev->npinfo = NULL;
list_for_each_entry_safe(p, n, &br->port_list, list) {
if (p->dev) {
ops = p->dev->netdev_ops;