diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-10-12 23:30:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 07:35:03 +0200 |
commit | 2527e4037f92d4ac70a843cf602236846b693262 (patch) | |
tree | e7b6dcb1a14daccbd2b98bfb0bfe8b4d655def47 /drivers | |
parent | r8169: simplify rtl8169_set_magic_reg (diff) | |
download | linux-2527e4037f92d4ac70a843cf602236846b693262.tar.xz linux-2527e4037f92d4ac70a843cf602236846b693262.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index a3000e39ae35..8c4f49adcf9e 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -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); |