[PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'

linux@treblig.org posted 1 patch 1 year, 7 months ago
drivers/crypto/n2_core.c | 4 ----
1 file changed, 4 deletions(-)
[PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
Posted by linux@treblig.org 1 year, 7 months ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'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>
---
 drivers/crypto/n2_core.c | 4 ----
 1 file changed, 4 deletions(-)

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)
 {
-- 
2.45.0
Re: [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
Posted by Herbert Xu 1 year, 6 months ago
On Sat, May 11, 2024 at 03:56:20PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> '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>
> ---
>  drivers/crypto/n2_core.c | 4 ----
>  1 file changed, 4 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
Posted by Dr. David Alan Gilbert 1 year, 6 months ago
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> '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>

Ping.

Dave
> ---
>  drivers/crypto/n2_core.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> 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)
>  {
> -- 
> 2.45.0
> 
-- 
 -----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   |_______/