aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/arm
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-08-29 08:25:11 -0700
committerEric Biggers <ebiggers@kernel.org>2025-08-29 09:49:18 -0700
commitdf220cc5e689213c34a0eec7ef26d25f503c77ae (patch)
treef6ee07c692dfb89be9f920db21085f8ee7f095b4 /lib/crypto/arm
parentlib/crypto: Drop inline from all *_mod_init_arch() functions (diff)
downloadlinux-df220cc5e689213c34a0eec7ef26d25f503c77ae.tar.gz
linux-df220cc5e689213c34a0eec7ef26d25f503c77ae.zip
lib/crypto: poly1305: Remove unused function poly1305_is_arch_optimized()
poly1305_is_arch_optimized() is unused, so remove it. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250829152513.92459-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/crypto/arm')
-rw-r--r--lib/crypto/arm/poly1305-glue.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/crypto/arm/poly1305-glue.c b/lib/crypto/arm/poly1305-glue.c
index 2d86c78af883..9e513e319e37 100644
--- a/lib/crypto/arm/poly1305-glue.c
+++ b/lib/crypto/arm/poly1305-glue.c
@@ -51,13 +51,6 @@ void poly1305_blocks_arch(struct poly1305_block_state *state, const u8 *src,
}
EXPORT_SYMBOL_GPL(poly1305_blocks_arch);
-bool poly1305_is_arch_optimized(void)
-{
- /* We always can use at least the ARM scalar implementation. */
- return true;
-}
-EXPORT_SYMBOL(poly1305_is_arch_optimized);
-
static int __init arm_poly1305_mod_init(void)
{
if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) &&