Skip to content

Commit 1adbee5

Browse files
robertpjdayJens Axboe
authored andcommitted
ramdisk: remove long-deprecated "ramdisk=" boot-time parameter
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> Acked-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
1 parent 0e0c621 commit 1adbee5

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎drivers/block/brd.c‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,7 @@ static int __init ramdisk_size(char *str)
407407
rd_size = simple_strtol(str, NULL, 0);
408408
return 1;
409409
}
410-
static int __init ramdisk_size2(char *str)
411-
{
412-
return ramdisk_size(str);
413-
}
414-
__setup("ramdisk=", ramdisk_size);
415-
__setup("ramdisk_size=", ramdisk_size2);
410+
__setup("ramdisk_size=", ramdisk_size);
416411
#endif
417412

418413
/*

0 commit comments

Comments
 (0)