summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-01-07 22:20:53 -0800
committerLinus Torvalds <torvalds@evo.osdl.org>2005-01-07 22:20:53 -0800
commit287e35add07bf8557eab57a0bbb9fb5d2f5a496c (patch)
treeeca297acc55bb463f8eec5f4688d012c0073f345 /init
parentf49b2b6d36bb2107b3c8b252bf0a3fabe15aa050 (diff)
[PATCH] remove early_param test code
Remove some unused test code Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r--init/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/init/main.c b/init/main.c
index 6b273a7e274d..dfc7a1375874 100644
--- a/init/main.c
+++ b/init/main.c
@@ -699,16 +699,3 @@ static int init(void * unused)
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);