Commit 287e35ad authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove early_param test code

Remove some unused test code
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f49b2b6d
...@@ -699,16 +699,3 @@ static int init(void * unused) ...@@ -699,16 +699,3 @@ static int init(void * unused)
panic("No init found. Try passing init= option to kernel."); panic("No init found. Try passing init= option to kernel.");
} }
static int early_param_test(char *rest)
{
printk("early_parm_test: %s\n", rest ?: "(null)");
return rest ? 0 : -EINVAL;
}
early_param("testsetup", early_param_test);
static int early_setup_test(char *rest)
{
printk("early_setup_test: %s\n", rest ?: "(null)");
return 0;
}
__setup("testsetup_long", early_setup_test);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment