diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2026-03-31 17:36:29 +0900 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-04-12 16:47:09 +0800 |
| commit | 2418431211d5d348245a79b41cf0cb89bcadc27b (patch) | |
| tree | 3cd76d2e27d266fe5366a3a811134a063d320987 /crypto | |
| parent | 3787fb7697a942baa25361bfc3390575e5659db8 (diff) | |
crypto: geniv - Remove unused spinlock from struct aead_geniv_ctx
The spin lock in geniv hasn't been used in over 10 years. Remove it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/geniv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/geniv.c b/crypto/geniv.c index c619a5ad2fc1..04befe3a7f44 100644 --- a/crypto/geniv.c +++ b/crypto/geniv.c @@ -112,8 +112,6 @@ int aead_init_geniv(struct crypto_aead *aead) struct crypto_aead *child; int err; - spin_lock_init(&ctx->lock); - err = crypto_stdrng_get_bytes(ctx->salt, crypto_aead_ivsize(aead)); if (err) goto out; |
