summaryrefslogtreecommitdiff
path: root/lib/crypto/arm64/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/arm64/sha256.c')
-rw-r--r--lib/crypto/arm64/sha256.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/crypto/arm64/sha256.c b/lib/crypto/arm64/sha256.c
index 609ffb815198..a5a498276708 100644
--- a/lib/crypto/arm64/sha256.c
+++ b/lib/crypto/arm64/sha256.c
@@ -47,13 +47,6 @@ void sha256_blocks_arch(struct sha256_block_state *state,
}
EXPORT_SYMBOL_GPL(sha256_blocks_arch);
-bool sha256_is_arch_optimized(void)
-{
- /* We always can use at least the ARM64 scalar implementation. */
- return true;
-}
-EXPORT_SYMBOL_GPL(sha256_is_arch_optimized);
-
static int __init sha256_arm64_mod_init(void)
{
if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) &&