History

lib/test_vmalloc.c: drop empty exit function

The module is never loaded successfully. Therefore, it'll never be unloaded and we can remove the exit function.

Martin Kaiser committed 2 years ago

Commit e2c5bfe1 parent 44503b91 file · +0 −5Browse files

Showing the changes to lib/test_vmalloc.c (1 of 1 file). Show all

Unified · Split

lib/test_vmalloc.c+0−5
@@ -600,12 +600,7 @@ static int vmalloc_test_init(void) · 599 unmodified lines
600600 return -EAGAIN; /* Fail will directly unload the module */
601601 }
602602
603−static void vmalloc_test_exit(void)
604−{
605−}
606−
607603 module_init(vmalloc_test_init)
608−module_exit(vmalloc_test_exit)
609604
610605 MODULE_LICENSE("GPL");
611606 MODULE_AUTHOR("Uladzislau Rezki");