aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netpoll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netpoll.h')
-rw-r--r--include/linux/netpoll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index c0d8b90c5202..449a4fde6587 100644
--- a/include/linux/netpoll.h
+++ b/include/linux/netpoll.h
@@ -53,8 +53,8 @@ static inline void netpoll_poll_lock(struct net_device *dev)
53static inline void netpoll_poll_unlock(struct net_device *dev) 53static inline void netpoll_poll_unlock(struct net_device *dev)
54{ 54{
55 if (dev->np) { 55 if (dev->np) {
56 spin_unlock(&dev->np->poll_lock);
57 dev->np->poll_owner = -1; 56 dev->np->poll_owner = -1;
57 spin_unlock(&dev->np->poll_lock);
58 } 58 }
59} 59}
60 60