Skip to content

Commit

Permalink
net/mlx5: Remove a useless 'drain_workqueue()' call in 'mlx5e_ipsec_c…
Browse files Browse the repository at this point in the history
…leanup()'

'destroy_workqueue()' already calls 'drain_workqueue()', there is no need
to call it explicitly.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
  • Loading branch information
Christophe JAILLET authored and Saeed Mahameed committed Feb 19, 2020
1 parent b5ede32 commit 0120936
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv)
if (!ipsec)
return;

drain_workqueue(ipsec->wq);
destroy_workqueue(ipsec->wq);

ida_destroy(&ipsec->halloc);
Expand Down

0 comments on commit 0120936

Please sign in to comment.