From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Date: Tue, 11 Feb 2020 14:32:54 -0800
Subject: net/mlx5: Remove a useless 'drain_workqueue()' call in
'mlx5e_ipsec_cleanup()'
Patch-mainline: v5.7-rc1
Git-commit: 0120936a9fc7493fed63588204af427dcf00feea
References: jsc#SLE-15172
'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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
@@ -433,7 +433,6 @@ void mlx5e_ipsec_cleanup(struct mlx5e_pr
if (!ipsec)
return;
- drain_workqueue(ipsec->wq);
destroy_workqueue(ipsec->wq);
ida_destroy(&ipsec->halloc);