Commit 36655042 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

bridge: Remove redundant npinfo NULL setting

Now that netpoll always zaps npinfo we no longer need to do it
in bridge.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c04ec806
...@@ -231,7 +231,6 @@ void br_netpoll_cleanup(struct net_device *dev) ...@@ -231,7 +231,6 @@ void br_netpoll_cleanup(struct net_device *dev)
struct net_bridge_port *p, *n; struct net_bridge_port *p, *n;
const struct net_device_ops *ops; const struct net_device_ops *ops;
br->dev->npinfo = NULL;
list_for_each_entry_safe(p, n, &br->port_list, list) { list_for_each_entry_safe(p, n, &br->port_list, list) {
if (p->dev) { if (p->dev) {
ops = p->dev->netdev_ops; ops = p->dev->netdev_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment