mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
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. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
34bc009543
commit
2527e4037f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user