Re: [PATCH] crypto: ccree: Remove unused struct 'tdes_keys'

From: Dr. David Alan Gilbert
Date: Fri May 24 2024 - 20:07:25 EST


* linux@xxxxxxxxxxx (linux@xxxxxxxxxxx) wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> 'tdes_keys' appears unused.
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>

Ping.

> ---
> drivers/crypto/ccree/cc_cipher.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c
> index cd66a580e8b64..3fb667a17bbb1 100644
> --- a/drivers/crypto/ccree/cc_cipher.c
> +++ b/drivers/crypto/ccree/cc_cipher.c
> @@ -261,12 +261,6 @@ static void cc_cipher_exit(struct crypto_tfm *tfm)
> kfree_sensitive(ctx_p->user.key);
> }
>
> -struct tdes_keys {
> - u8 key1[DES_KEY_SIZE];
> - u8 key2[DES_KEY_SIZE];
> - u8 key3[DES_KEY_SIZE];
> -};
> -
> static enum cc_hw_crypto_key cc_slot_to_hw_key(u8 slot_num)
> {
> switch (slot_num) {
> --
> 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 |_______/