From fac8b209b1084bc85748bd54e13d00c1262b220f Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 16 Oct 2007 23:29:30 -0700 Subject: 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 Acked-by: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/block/rd.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'drivers') 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) rd_size = simple_strtol(str,NULL,0); return 1; } -static int __init ramdisk_size2(char *str) /* kludge */ -{ - return ramdisk_size(str); -} static int __init ramdisk_blocksize(char *str) { rd_blocksize = simple_strtol(str,NULL,0); return 1; } -__setup("ramdisk=", ramdisk_size); -__setup("ramdisk_size=", ramdisk_size2); +__setup("ramdisk_size=", ramdisk_size); __setup("ramdisk_blocksize=", ramdisk_blocksize); #endif -- cgit v1.2.3