diff options
author | Eric Biggers <ebiggers@google.com> | 2025-02-08 09:56:47 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2025-02-09 08:44:38 -0800 |
commit | 0645b245a2bd1abf1b36b570db47517e5519819c (patch) | |
tree | 081bb0b41e02334e19f7eef1d96642f33a766760 /arch/arm | |
parent | 8522104f75bf1ce33d76ea425185da2a7fba5a70 (diff) |
lib/crc-t10dif: remove crc_t10dif_is_optimized()
With the "crct10dif" algorithm having been removed from the crypto API,
crc_t10dif_is_optimized() is no longer used.
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250208175647.12333-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/lib/crc-t10dif-glue.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/lib/crc-t10dif-glue.c b/arch/arm/lib/crc-t10dif-glue.c index d24dee62670e..f3584ba70e57 100644 --- a/arch/arm/lib/crc-t10dif-glue.c +++ b/arch/arm/lib/crc-t10dif-glue.c @@ -69,12 +69,6 @@ static void __exit crc_t10dif_arm_exit(void) } module_exit(crc_t10dif_arm_exit); -bool crc_t10dif_is_optimized(void) -{ - return static_key_enabled(&have_neon); -} -EXPORT_SYMBOL(crc_t10dif_is_optimized); - MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); MODULE_DESCRIPTION("Accelerated CRC-T10DIF using ARM NEON and Crypto Extensions"); MODULE_LICENSE("GPL v2"); |