summaryrefslogtreecommitdiff
path: root/lib/crypto/x86/chacha_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/x86/chacha_glue.c')
-rw-r--r--lib/crypto/x86/chacha_glue.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/crypto/x86/chacha_glue.c b/lib/crypto/x86/chacha_glue.c
index 10b2c945f541..de7da9d512af 100644
--- a/lib/crypto/x86/chacha_glue.c
+++ b/lib/crypto/x86/chacha_glue.c
@@ -160,12 +160,6 @@ void chacha_crypt_arch(struct chacha_state *state, u8 *dst, const u8 *src,
}
EXPORT_SYMBOL(chacha_crypt_arch);
-bool chacha_is_arch_optimized(void)
-{
- return static_key_enabled(&chacha_use_simd);
-}
-EXPORT_SYMBOL(chacha_is_arch_optimized);
-
static int __init chacha_simd_mod_init(void)
{
if (!boot_cpu_has(X86_FEATURE_SSSE3))