public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RAMDISK:  Remove long-deprecated "ramdisk=" boot-time
@ 2009-05-06 22:23 Robert P. J. Day
  2009-05-07  7:16 ` walter harms
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert P. J. Day @ 2009-05-06 22:23 UTC (permalink / raw)
  To: kernel-janitors


The "ramdisk" parameter was removed from the defunct rd.c file quite
some time ago, in favour of the more specific "ramdisk_size"
parameter so, for consistency, the same should be done here.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  the earlier removal was in fac8b209b1084bc85748bd54e13d00c1262b220f.

diff --git a/drivers/block/brd.c b/drivers/block/brd.c
index 5f7e64b..4bf8705 100644
--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -407,12 +407,7 @@ static int __init ramdisk_size(char *str)
 	rd_size = simple_strtol(str, NULL, 0);
 	return 1;
 }
-static int __init ramdisk_size2(char *str)
-{
-	return ramdisk_size(str);
-}
-__setup("ramdisk=", ramdisk_size);
-__setup("ramdisk_size=", ramdisk_size2);
+__setup("ramdisk_size=", ramdisk_size);
 #endif

 /*

====================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
====================================

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-12  5:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06 22:23 [PATCH] RAMDISK: Remove long-deprecated "ramdisk=" boot-time Robert P. J. Day
2009-05-07  7:16 ` walter harms
2009-05-07  8:56 ` Robert P. J. Day
2009-05-12  5:09 ` [PATCH] RAMDISK: Remove long-deprecated "ramdisk=" boot-time param Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox