diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-10-17 02:29:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:56 -0400 |
commit | fac8b209b1084bc85748bd54e13d00c1262b220f (patch) | |
tree | eae5cd70819f8f3c9b44cfa636051f0f1497266a /drivers/block/rd.c | |
parent | 1810732e94576ae0d04e953ecaba8c7151c9a287 (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.c | 7 |
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 | } |
507 | static int __init ramdisk_size2(char *str) /* kludge */ | ||
508 | { | ||
509 | return ramdisk_size(str); | ||
510 | } | ||
511 | static int __init ramdisk_blocksize(char *str) | 507 | static 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 | ||