public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
@ 2024-05-11 14:56 linux
  2024-05-25  0:09 ` Dr. David Alan Gilbert
  2024-05-31  9:58 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-05-11 14:56 UTC (permalink / raw)
  To: herbert, davem
  Cc: linux-crypto, sparclinux, andreas, linux-kernel,
	Dr. David Alan Gilbert

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
  2024-05-11 14:56 [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context' linux
@ 2024-05-25  0:09 ` Dr. David Alan Gilbert
  2024-05-31  9:58 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-25  0:09 UTC (permalink / raw)
  To: herbert, davem; +Cc: linux-crypto, sparclinux, andreas, linux-kernel

* 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   |_______/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context'
  2024-05-11 14:56 [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context' linux
  2024-05-25  0:09 ` Dr. David Alan Gilbert
@ 2024-05-31  9:58 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2024-05-31  9:58 UTC (permalink / raw)
  To: linux; +Cc: davem, linux-crypto, sparclinux, andreas, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-31  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-11 14:56 [PATCH] crypto: niagara2: Remove unused struct 'n2_skcipher_request_context' linux
2024-05-25  0:09 ` Dr. David Alan Gilbert
2024-05-31  9:58 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox