diff options
author | Antoine Tenart <atenart@kernel.org> | 2022-09-21 15:51:18 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-23 06:56:08 -0700 |
commit | 99383f1298ee25901b1f6a665bdcc3344acb2382 (patch) | |
tree | f436ee0e16f6e8d438612b105722dd64a11fce87 /drivers/net/macsec.c | |
parent | 36c2ebced3a808d6fa3cc2847a4f20ef7c5d5b5b (diff) |
net: macsec: remove the prepare flag from the MACsec offloading context
Now that the MACsec offloading preparation phase was removed from the
MACsec core implementation as well as from drivers implementing it, we
can safely remove the flag representing it.
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macsec.c')
-rw-r--r-- | drivers/net/macsec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index 160976929dfe..8193ab39206f 100644 --- a/drivers/net/macsec.c +++ b/drivers/net/macsec.c @@ -1663,7 +1663,6 @@ static int macsec_offload(int (* const func)(struct macsec_context *), if (ctx->offload == MACSEC_OFFLOAD_PHY) mutex_lock(&ctx->phydev->lock); - ctx->prepare = false; ret = (*func)(ctx); if (ctx->offload == MACSEC_OFFLOAD_PHY) |