Skip to contentSkip to conversation

r8169: remove unneeded call to netif_stop_queue in rtl8169_net_suspend

PATCH Applied Heiner Kallweit 2 participants 2 messages Oct 13, 2018 – Oct 16, 2018

Subsystems (3)
lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

PATCH 1/1 r8169: remove unneeded call to netif_stop_queue in rtl8169_net_suspend

netif_device_detach() stops all tx queues already, so we don't need this call.

---
 drivers/net/ethernet/realtek/r8169.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/realtek/r8169.c +0 -1
index e6e1790f4..a78be5937 100644
@@ -6825,7 +6825,6 @@ static void rtl8169_net_suspend(struct net_device *dev)
 
 	phy_stop(dev->phydev);
 	netif_device_detach(dev);
-	netif_stop_queue(dev);
 
 	rtl_lock_work(tp);
 	napi_disable(&tp->napi);
Signature · 1 line
2.19.1