aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/rd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/rd.c')
-rw-r--r--drivers/block/rd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/rd.c b/drivers/block/rd.c
index 536be2de989e..e64f26ec6140 100644
--- a/drivers/block/rd.c
+++ b/drivers/block/rd.c
@@ -457,7 +457,6 @@ static int __init rd_init(void)
457 disk->queue = rd_queue[i]; 457 disk->queue = rd_queue[i];
458 disk->flags |= GENHD_FL_SUPPRESS_PARTITION_INFO; 458 disk->flags |= GENHD_FL_SUPPRESS_PARTITION_INFO;
459 sprintf(disk->disk_name, "ram%d", i); 459 sprintf(disk->disk_name, "ram%d", i);
460 sprintf(disk->devfs_name, "rd/%d", i);
461 set_capacity(disk, rd_size * 2); 460 set_capacity(disk, rd_size * 2);
462 add_disk(rd_disks[i]); 461 add_disk(rd_disks[i]);
463 } 462 }