From: Holger Schurig Remove some unused test code Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton --- 25-akpm/init/main.c | 13 ------------- 1 files changed, 13 deletions(-) diff -puN init/main.c~remove-early_param-tests init/main.c --- 25/init/main.c~remove-early_param-tests 2004-11-22 19:14:24.000000000 -0800 +++ 25-akpm/init/main.c 2004-11-22 19:14:24.000000000 -0800 @@ -705,16 +705,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); _