Skip to content

Commit e2c5bfe

Browse files
martin-kaiserakpm00
authored andcommitted
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Martin Kaiser <[email protected]> Reviewed-by: Uladzislau Rezki (Sony) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 44503b9 commit e2c5bfe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/test_vmalloc.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -600,12 +600,7 @@ static int vmalloc_test_init(void)
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");

0 commit comments

Comments
 (0)