Skip to content

Commit

Permalink
r8169: remove unneeded call to netif_stop_queue in rtl8169_net_suspend
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiner Kallweit authored and David S. Miller committed Oct 16, 2018
1 parent 34bc009 commit 2527e40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/realtek/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2527e40

Please sign in to comment.