[PATCH] lib/crypto: md5: Remove support for md5_mod_init_arch()

From: Eric Biggers

Date: Sun Jun 28 2026 - 23:28:18 EST


No definitions of md5_mod_init_arch() remain, so remove the code that
handles it.

Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
lib/crypto/md5.c | 14 --------------
1 file changed, 14 deletions(-)

diff --git a/lib/crypto/md5.c b/lib/crypto/md5.c
index 6bf130cfbbf9..3d2b017a0525 100644
--- a/lib/crypto/md5.c
+++ b/lib/crypto/md5.c
@@ -298,19 +298,5 @@ void hmac_md5_usingrawkey(const u8 *raw_key, size_t raw_key_len,
}
EXPORT_SYMBOL_GPL(hmac_md5_usingrawkey);

-#ifdef md5_mod_init_arch
-static int __init md5_mod_init(void)
-{
- md5_mod_init_arch();
- return 0;
-}
-subsys_initcall(md5_mod_init);
-
-static void __exit md5_mod_exit(void)
-{
-}
-module_exit(md5_mod_exit);
-#endif
-
MODULE_DESCRIPTION("MD5 and HMAC-MD5 library functions");
MODULE_LICENSE("GPL");

base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
--
2.54.0