]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
r8169: remove unneeded call to netif_stop_queue in rtl8169_net_suspend
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 12 Oct 2018 21:30:52 +0000 (23:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:35:03 +0000 (22:35 -0700)
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>
drivers/net/ethernet/realtek/r8169.c

index a3000e39ae3541be1ea0b03d3587b083c0ace2d9..8c4f49adcf9e72b9021508f9179042e33370fb77 100644 (file)
@@ -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);