diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-06-10 12:12:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-15 13:58:38 -0400 |
commit | 36655042f9873efc2a90d251b9aef9b6b79d75d8 (patch) | |
tree | a659ea763ee546fc695456581de4a0b1ba17bb0b /net/bridge | |
parent | c04ec8063d3a89e5ae933c7b4be04476fe65c6de (diff) |
bridge: Remove redundant npinfo NULL setting
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>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index b898364beaf5..f8cb908db81f 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c | |||
@@ -231,7 +231,6 @@ void br_netpoll_cleanup(struct net_device *dev) | |||
231 | struct net_bridge_port *p, *n; | 231 | struct net_bridge_port *p, *n; |
232 | const struct net_device_ops *ops; | 232 | const struct net_device_ops *ops; |
233 | 233 | ||
234 | br->dev->npinfo = NULL; | ||
235 | list_for_each_entry_safe(p, n, &br->port_list, list) { | 234 | list_for_each_entry_safe(p, n, &br->port_list, list) { |
236 | if (p->dev) { | 235 | if (p->dev) { |
237 | ops = p->dev->netdev_ops; | 236 | ops = p->dev->netdev_ops; |