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

Unified · Split

lib/test_vmalloc.c+0−5
@@ -600,12 +600,7 @@ static int vmalloc_test_init(void) · 599 unmodified lines
600 return -EAGAIN; /* Fail will directly unload the module */600 return -EAGAIN; /* Fail will directly unload the module */
601}601}
602 602
603static void vmalloc_test_exit(void)
604{
605}
606
607module_init(vmalloc_test_init)603module_init(vmalloc_test_init)
608module_exit(vmalloc_test_exit)
609 604
610MODULE_LICENSE("GPL");605MODULE_LICENSE("GPL");
611MODULE_AUTHOR("Uladzislau Rezki");606MODULE_AUTHOR("Uladzislau Rezki");