Skip to content

Commit 0120936

Browse files
tititiou36Saeed Mahameed
authored andcommitted
net/mlx5: Remove a useless 'drain_workqueue()' call in 'mlx5e_ipsec_cleanup()'
'destroy_workqueue()' already calls 'drain_workqueue()', there is no need to call it explicitly. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent b5ede32 commit 0120936

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/en_accel

1 file changed

+0
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv)
433433
if (!ipsec)
434434
return;
435435

436-
drain_workqueue(ipsec->wq);
437436
destroy_workqueue(ipsec->wq);
438437

439438
ida_destroy(&ipsec->halloc);

0 commit comments

Comments
 (0)