aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/rd.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-10-17 02:29:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:56 -0400
commitfac8b209b1084bc85748bd54e13d00c1262b220f (patch)
treeeae5cd70819f8f3c9b44cfa636051f0f1497266a /drivers/block/rd.c
parent1810732e94576ae0d04e953ecaba8c7151c9a287 (diff)
Remove final traces of long-deprecated "ramdisk" kernel parm
Since the "ramdisk" kernel parameter has been officially deprecated since at least 2.6.18, might as well finally get rid of it. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/rd.c')
-rw-r--r--drivers/block/rd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/block/rd.c b/drivers/block/rd.c
index 80e1585b741e..08176d23a46c 100644
--- a/drivers/block/rd.c
+++ b/drivers/block/rd.c
@@ -504,17 +504,12 @@ static int __init ramdisk_size(char *str)
504 rd_size = simple_strtol(str,NULL,0); 504 rd_size = simple_strtol(str,NULL,0);
505 return 1; 505 return 1;
506} 506}
507static int __init ramdisk_size2(char *str) /* kludge */
508{
509 return ramdisk_size(str);
510}
511static int __init ramdisk_blocksize(char *str) 507static int __init ramdisk_blocksize(char *str)
512{ 508{
513 rd_blocksize = simple_strtol(str,NULL,0); 509 rd_blocksize = simple_strtol(str,NULL,0);
514 return 1; 510 return 1;
515} 511}
516__setup("ramdisk=", ramdisk_size); 512__setup("ramdisk_size=", ramdisk_size);
517__setup("ramdisk_size=", ramdisk_size2);
518__setup("ramdisk_blocksize=", ramdisk_blocksize); 513__setup("ramdisk_blocksize=", ramdisk_blocksize);
519#endif 514#endif
520 515