summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-04-17 21:00:17 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-19 11:18:28 +0800
commitbb9c648b334be581a791c7669abaa594e4b5ebb7 (patch)
tree88342c376e4af71634743a2ea0a68576387cf8c5 /arch/arm
parent8821d26926ea6c1115974a989ec5a467da402f4f (diff)
crypto: lib/poly1305 - restore ability to remove modules
Though the module_exit functions are now no-ops, they should still be defined, since otherwise the modules become unremovable. Fixes: 1f81c58279c7 ("crypto: arm/poly1305 - remove redundant shash algorithm") Fixes: f4b1a73aec5c ("crypto: arm64/poly1305 - remove redundant shash algorithm") Fixes: 378a337ab40f ("crypto: powerpc/poly1305 - implement library instead of shash") Fixes: 21969da642a2 ("crypto: x86/poly1305 - remove redundant shash algorithm") Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/crypto/poly1305-glue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/crypto/poly1305-glue.c b/arch/arm/crypto/poly1305-glue.c
index 6d6998b3ec7e..42d0ebde1ae1 100644
--- a/arch/arm/crypto/poly1305-glue.c
+++ b/arch/arm/crypto/poly1305-glue.c
@@ -116,5 +116,10 @@ static int __init arm_poly1305_mod_init(void)
}
arch_initcall(arm_poly1305_mod_init);
+static void __exit arm_poly1305_mod_exit(void)
+{
+}
+module_exit(arm_poly1305_mod_exit);
+
MODULE_DESCRIPTION("Accelerated Poly1305 transform for ARM");
MODULE_LICENSE("GPL v2");