aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bridge/br_device.c1
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;