Skip to contentSkip to conversation

crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'

PATCH In review [email protected] 2 participants 3 messages May 11, 2024 – May 31, 2024 Crypto API

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/crypto/n2_core.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/crypto/n2_core.c +0 -4
index 59d472cb11e75..251e088a53dff 100644
@@ -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
#1 lore raw
Quoted 8 lines · * [email protected] ([email protected]) wrote:

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.

Ping.

Dave

Quoted 22 lines
---
 drivers/crypto/n2_core.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/crypto/n2_core.c +0 -4
index 59d472cb11e75..251e088a53dff 100644
@@ -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   |_______/
maintainer
#2 lore raw
In reply to [email protected]
Quoted 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
commit 23a6564a6b51 ("crypto: niagara2 - switch to skcipher API") but never used.
Remove it.

---
 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