aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
authorJulian Braha <julianbraha@gmail.com>2026-03-31 13:22:14 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-05 16:15:24 +0800
commitffa13d4fdb0dedbde009df10a8af485c123566eb (patch)
tree7145a646c5fe5e867bcfbd4f3b3490c45dd24dbd /crypto
parentd1fa83ecac31093a550534a79a33bc7f4ba8fc10 (diff)
downloadlinux-next-history-ffa13d4fdb0dedbde009df10a8af485c123566eb.tar.gz
keys: cleanup dead code in Kconfig for FIPS_SIGNATURE_SELFTEST
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@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asymmetric_keys/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig
index e50bd9b3e27ba..6a2f664046efe 100644
--- a/crypto/asymmetric_keys/Kconfig
+++ b/crypto/asymmetric_keys/Kconfig
@@ -95,7 +95,6 @@ config FIPS_SIGNATURE_SELFTEST
verification code, using some built in data. This is required
for FIPS.
depends on KEYS
- depends on ASYMMETRIC_KEY_TYPE
depends on PKCS7_MESSAGE_PARSER=X509_CERTIFICATE_PARSER
depends on X509_CERTIFICATE_PARSER
depends on CRYPTO_RSA