Skip to content

Commit fea9ad4

Browse files
committed
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
1 parent 93b988c commit fea9ad4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

arch/s390/lib/crc32-glue.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ DEFINE_CRC32_VX(crc32_le_arch, crc32_le_vgfm_16, crc32_le_base)
6161
DEFINE_CRC32_VX(crc32_be_arch, crc32_be_vgfm_16, crc32_be_base)
6262
DEFINE_CRC32_VX(crc32c_arch, crc32c_le_vgfm_16, crc32c_base)
6363

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-
7564
u32 crc32_optimizations(void)
7665
{
7766
if (cpu_has_vx()) {

0 commit comments

Comments
 (0)