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(-)
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
* [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.
>
> Signed-off-by: Dr. David Alan Gilbert <[email protected]>
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 |_______/