]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/crc: arm64: Drop check for CONFIG_KERNEL_MODE_NEON
authorEric Biggers <ebiggers@kernel.org>
Sat, 14 Mar 2026 17:57:44 +0000 (10:57 -0700)
committerEric Biggers <ebiggers@kernel.org>
Tue, 17 Mar 2026 16:29:28 +0000 (09:29 -0700)
commit6e4d63e8993c681e1cec7d564b4e018e21e658d0
treea6d7bfe2aebe7f8b4f565742e122bdf771e10398
parentd61686cf10aa7203001d24d86369aa1af4d06319
lib/crc: arm64: Drop check for CONFIG_KERNEL_MODE_NEON

CONFIG_KERNEL_MODE_NEON is always enabled on arm64, and it always has
been since its introduction in 2013.  Given that and the fact that the
usefulness of kernel-mode NEON has only been increasing over time,
checking for this option in arm64-specific code is unnecessary.  Remove
this check from lib/crc/ to simplify the code and prevent any future
bugs where e.g. code gets disabled due to a typo in this logic.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260314175744.30620-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crc/Kconfig