Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4204182f authored by Dongli Zhang's avatar Dongli Zhang Committed by Greg Kroah-Hartman
Browse files

vmxnet3: do not stop tx queues after netif_device_detach()



[ Upstream commit 9159f102402a64ac85e676b75cc1f9c62c5b4b73 ]

The netif_device_detach() conditionally stops all tx queues if the queues
are running. There is no need to call netif_tx_stop_all_queues() again.

Signed-off-by: default avatarDongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1864ca9a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3634,7 +3634,6 @@ vmxnet3_suspend(struct device *device)
	vmxnet3_free_intr_resources(adapter);

	netif_device_detach(netdev);
	netif_tx_stop_all_queues(netdev);

	/* Create wake-up filters. */
	pmConf = adapter->pm_conf;