Re: [PATCH] keys: cleanup dead code in Kconfig for FIPS_SIGNATURE_SELFTEST
From: Herbert Xu
Date: Tue May 05 2026 - 04:37:02 EST
Julian Braha <julianbraha@xxxxxxxxx> wrote:
> There is already an 'if ASYMMETRIC_KEY_TYPE' condition wrapping
> FIPS_SIGNATURE_SELFTEST, making the 'depends on' statement a
> duplicate dependency (dead code).
>
> I propose leaving the outer 'if ASYMMETRIC_KEY_TYPE...endif' and removing
> the individual 'depends on' statement.
>
> This dead code was found by kconfirm, a static analysis tool for Kconfig.
>
> Signed-off-by: Julian Braha <julianbraha@xxxxxxxxx>
> ---
> crypto/asymmetric_keys/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
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