]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: n2 - Remove unused struct 'n2_skcipher_request_context'
authorDr. David Alan Gilbert <linux@treblig.org>
Sat, 11 May 2024 14:56:20 +0000 (15:56 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 May 2024 09:34:56 +0000 (17:34 +0800)
'n2_skcipher_request_context' was added in
commit 23a6564a6b51 ("crypto: niagara2 - switch to skcipher API")
but never used.
Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/n2_core.c

index 59d472cb11e7501b294b95503a0e8c49f2bfcd13..251e088a53dff8b89e093c385c02e8084741e8d4 100644 (file)
@@ -720,10 +720,6 @@ static inline struct n2_skcipher_alg *n2_skcipher_alg(struct crypto_skcipher *tf
        return container_of(alg, struct n2_skcipher_alg, skcipher);
 }
 
-struct n2_skcipher_request_context {
-       struct skcipher_walk    walk;
-};
-
 static int n2_aes_setkey(struct crypto_skcipher *skcipher, const u8 *key,
                         unsigned int keylen)
 {