Re: [PATCH] crypto: asymmetric_keys - Remove unused key_being_used_for[]
From: Herbert Xu
Date: Sat Jan 18 2025 - 23:48:19 EST
On Sun, Jan 12, 2025 at 04:30:59PM +0000, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> key_being_used_for[] is an unused array of textual names for
> the elements of the enum key_being_used_for. It was added in 2015 by
> commit 99db44350672 ("PKCS#7: Appropriately restrict authenticated
> attributes and content type")
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
> ---
> crypto/asymmetric_keys/asymmetric_type.c | 10 ----------
> include/linux/verification.h | 2 --
> 2 files changed, 12 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt