aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 1e6af4f174b6..e393995d283a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1277,7 +1277,6 @@ static inline int netif_rx_schedule_prep(struct net_device *dev,
1277static inline void __netif_rx_schedule(struct net_device *dev, 1277static inline void __netif_rx_schedule(struct net_device *dev,
1278 struct napi_struct *napi) 1278 struct napi_struct *napi)
1279{ 1279{
1280 dev_hold(dev);
1281 __napi_schedule(napi); 1280 __napi_schedule(napi);
1282} 1281}
1283 1282
@@ -1308,7 +1307,6 @@ static inline void __netif_rx_complete(struct net_device *dev,
1308 struct napi_struct *napi) 1307 struct napi_struct *napi)
1309{ 1308{
1310 __napi_complete(napi); 1309 __napi_complete(napi);
1311 dev_put(dev);
1312} 1310}
1313 1311
1314/* Remove interface from poll list: it must be in the poll list 1312/* Remove interface from poll list: it must be in the poll list