Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

s390/crc32: Remove no-op module init and exit functions

Now that the crc32-s390 module init function is a no-op, there is no
need to define it. Remove it. The removal of the init function also
makes the exit function unnecessary, so remove that too.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20250417163829.4599-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>

-11
-11
arch/s390/lib/crc32-glue.c
··· 61 61 DEFINE_CRC32_VX(crc32_be_arch, crc32_be_vgfm_16, crc32_be_base) 62 62 DEFINE_CRC32_VX(crc32c_arch, crc32c_le_vgfm_16, crc32c_base) 63 63 64 - static int __init crc32_s390_init(void) 65 - { 66 - return 0; 67 - } 68 - arch_initcall(crc32_s390_init); 69 - 70 - static void __exit crc32_s390_exit(void) 71 - { 72 - } 73 - module_exit(crc32_s390_exit); 74 - 75 64 u32 crc32_optimizations(void) 76 65 { 77 66 if (cpu_has_vx()) {