From: Dr. David Alan Gilbert Date: Sat, 11 May 2024 14:56:20 +0000 (+0100) Subject: crypto: n2 - Remove unused struct 'n2_skcipher_request_context' X-Git-Tag: v6.11-rc1~119^2~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=198faf0301ce1a51b9c859510ab884020dcb6f19;p=thirdparty%2Fkernel%2Flinux.git crypto: n2 - Remove unused struct 'n2_skcipher_request_context' '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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index 59d472cb11e75..251e088a53dff 100644 --- a/drivers/crypto/n2_core.c +++ b/drivers/crypto/n2_core.c @@ -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) {