Skip to content

Commit 2527e40

Browse files
hkallweitdavem330
authored andcommitted
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>
1 parent 34bc009 commit 2527e40

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/realtek

1 file changed

+0
-1
lines changed

drivers/net/ethernet/realtek/r8169.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6825,7 +6825,6 @@ static void rtl8169_net_suspend(struct net_device *dev)
68256825

68266826
phy_stop(dev->phydev);
68276827
netif_device_detach(dev);
6828-
netif_stop_queue(dev);
68296828

68306829
rtl_lock_work(tp);
68316830
napi_disable(&tp->napi);

0 commit comments

Comments
 (0)