]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: x86 - drop redundant dependencies on X86
authorEric Biggers <ebiggers@google.com>
Tue, 22 Apr 2025 15:27:07 +0000 (08:27 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Apr 2025 11:40:53 +0000 (19:40 +0800)
commit67128a90b3541298988bfc3a0bad88178d6a7fb7
treeaf0c87264feed3ad4fa2c56677c199c7d38cf6cd
parent4cf0e759161d28ce44b97bbdb051b176f31c647d
crypto: x86 - drop redundant dependencies on X86

arch/x86/crypto/Kconfig is sourced only when CONFIG_X86=y, so there is
no need for the symbols defined inside it to depend on X86.

In the case of CRYPTO_TWOFISH_586 and CRYPTO_TWOFISH_X86_64, the
dependency was actually on '(X86 || UML_X86)', which suggests that these
two symbols were intended to be available under user-mode Linux as well.
Yet, again these symbols were defined only when CONFIG_X86=y, so that
was not the case.  Just remove this redundant dependency.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Kconfig