All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saeed Mahameed <saeedm@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>,
	"kuba@kernel.org" <kuba@kernel.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
	Saeed Mahameed <saeedm@mellanox.com>
Subject: [net-next V4 13/13] net/mlx5: Remove a useless 'drain_workqueue()' call in 'mlx5e_ipsec_cleanup()'
Date: Wed, 19 Feb 2020 03:23:26 +0000	[thread overview]
Message-ID: <20200219032205.15264-14-saeedm@mellanox.com> (raw)
In-Reply-To: <20200219032205.15264-1-saeedm@mellanox.com>

From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

'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>
---
 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
index cf58c9637904..29626c6c9c25 100644
--- 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_priv *priv)
 	if (!ipsec)
 		return;
 
-	drain_workqueue(ipsec->wq);
 	destroy_workqueue(ipsec->wq);
 
 	ida_destroy(&ipsec->halloc);
-- 
2.24.1


  parent reply	other threads:[~2020-02-19  3:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-19  3:22 [pull request][net-next V4 00/13] Mellanox, mlx5 updates 2020-01-24 Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 01/13] devlink: Force enclosing array on binary fmsg data Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 02/13] net/mlx5: Add support for resource dump Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 03/13] net/mlx5e: Gather reporters APIs together Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 04/13] net/mlx5e: Support dump callback in TX reporter Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 05/13] net/mlx5e: Support dump callback in RX reporter Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 06/13] mlx5: Use proper logging and tracing line terminations Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 07/13] net/mlx5e: Set FEC to auto when configured mode is not supported Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 08/13] net/mlx5e: Enforce setting of a single FEC mode Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 09/13] net/mlx5e: Advertise globaly supported FEC modes Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 10/13] net/mlxe5: Separate between FEC and current speed Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 11/13] ethtool: Add support for low latency RS FEC Saeed Mahameed
2020-02-19  3:23 ` [net-next V4 12/13] net/mlx5e: Add support for FEC modes based on 50G per lane links Saeed Mahameed
2020-02-19  3:23 ` Saeed Mahameed [this message]
2020-02-19 18:44 ` [pull request][net-next V4 00/13] Mellanox, mlx5 updates 2020-01-24 David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200219032205.15264-14-saeedm@mellanox.com \
    --to=saeedm@mellanox.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.