aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r--net/core/netpoll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index e034342c819c..19ff66079f76 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -867,8 +867,7 @@ void netpoll_cleanup(struct netpoll *np)
867 ops = np->dev->netdev_ops; 867 ops = np->dev->netdev_ops;
868 if (ops->ndo_netpoll_cleanup) 868 if (ops->ndo_netpoll_cleanup)
869 ops->ndo_netpoll_cleanup(np->dev); 869 ops->ndo_netpoll_cleanup(np->dev);
870 else 870 np->dev->npinfo = NULL;
871 np->dev->npinfo = NULL;
872 } 871 }
873 } 872 }
874 873