diff mbox series

crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'

Message ID 20240511145620.226548-1-linux@treblig.org
State Accepted
Commit 198faf0301ce1a51b9c859510ab884020dcb6f19
Headers show
Series crypto: niagara2: Remove unused struct 'n2_skcipher_request_context' | expand

Commit Message

Dr. David Alan Gilbert May 11, 2024, 2:56 p.m. UTC
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(-)

Comments

Dr. David Alan Gilbert May 25, 2024, 12:09 a.m. UTC | #1
* 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
>
Herbert Xu May 31, 2024, 9:58 a.m. UTC | #2
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.
diff mbox series

Patch

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