crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
PATCH 1/1 crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
--- drivers/crypto/n2_core.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/crypto/n2_core.c +0 -4
@@ -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) {
Signature · 1 line
2.45.0
Quoted 8 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
n2_skcipher_request_context' was added in
commit23a6564a6b51("crypto: niagara2 - switch to skcipher API") but never used.
Remove it.Signed-off-by Dr. David Alan Gilbert <[email protected]>
Ping.
Dave
Quoted 22 lines
--- drivers/crypto/n2_core.c | 4 ---- 1 file changed, 4 deletions(-)drivers/crypto/n2_core.c +0
-4@@ -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) {Signature · 1 line
2.45.0
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Herbert Xu
maintainerQuoted 11 lines · On Sat, May 11, 2024 at 03:56:20PM +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
n2_skcipher_request_context' was added in
commit23a6564a6b51("crypto: niagara2 - switch to skcipher API") but never used.
Remove it.Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/crypto/n2_core.c | 4 ---- 1 file changed, 4 deletions(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt