]> err.no Git - linux-2.6/commitdiff
[AVR32] Drop support for redundant "keepinitrd" boot-time parm.
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 19 Sep 2007 12:43:42 +0000 (08:43 -0400)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 11 Oct 2007 10:16:57 +0000 (12:16 +0200)
Given the existing "retain_initrd" boot-time parameter defined in
init/initramfs.c, there appears to be no need for the equivalent
"keepinitrd" parameter.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mm/init.c

index 82cf70854b90d3999e0672b6f8a2fa1c2601129c..480760bde63f9d2f342c5d32364ffa078800349a 100644 (file)
@@ -224,19 +224,9 @@ void free_initmem(void)
 
 #ifdef CONFIG_BLK_DEV_INITRD
 
-static int keep_initrd;
-
 void free_initrd_mem(unsigned long start, unsigned long end)
 {
-       if (!keep_initrd)
-               free_area(start, end, "initrd");
-}
-
-static int __init keepinitrd_setup(char *__unused)
-{
-       keep_initrd = 1;
-       return 1;
+       free_area(start, end, "initrd");
 }
 
-__setup("keepinitrd", keepinitrd_setup);
 #endif