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>
This commit is contained in:
parent
c04ec8063d
commit
36655042f9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue