]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
lib/crypto: md5: Remove support for md5_mod_init_arch()
authorEric Biggers <ebiggers@kernel.org>
Mon, 29 Jun 2026 03:25:52 +0000 (20:25 -0700)
committerEric Biggers <ebiggers@kernel.org>
Sun, 5 Jul 2026 19:48:50 +0000 (12:48 -0700)
No definitions of md5_mod_init_arch() remain, so remove the code that
handles it.

Link: https://patch.msgid.link/20260629032552.26100-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/md5.c

index 6bf130cfbbf98c80e239595917f748d38cd66d1b..3d2b017a0525ae5838826014a1e449f6faf28c6c 100644 (file)
@@ -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");