Skip to content

Commit 9159f10

Browse files
Dongli Zhangdavem330
authored andcommitted
vmxnet3: do not stop tx queues after netif_device_detach()
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: Dongli Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 72f898c commit 9159f10

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/vmxnet3/vmxnet3_drv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3833,7 +3833,6 @@ vmxnet3_suspend(struct device *device)
38333833
vmxnet3_free_intr_resources(adapter);
38343834

38353835
netif_device_detach(netdev);
3836-
netif_tx_stop_all_queues(netdev);
38373836

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

0 commit comments

Comments
 (0)