mtd: make register_mtd_parser return void
register_mtd_parser never fails; hence make it return void. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
@@ -300,7 +300,8 @@ MODULE_ALIAS("RedBoot");
|
||||
|
||||
static int __init redboot_parser_init(void)
|
||||
{
|
||||
return register_mtd_parser(&redboot_parser);
|
||||
register_mtd_parser(&redboot_parser);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit redboot_parser_exit(void)
|
||||
|
Reference in New Issue
Block a user