aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/viocd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cdrom/viocd.c')
-rw-r--r--drivers/cdrom/viocd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c
index af6b3bfd169b..54ca931e19ea 100644
--- a/drivers/cdrom/viocd.c
+++ b/drivers/cdrom/viocd.c
@@ -49,7 +49,6 @@
49#include <asm/iseries/vio.h> 49#include <asm/iseries/vio.h>
50 50
51#define VIOCD_DEVICE "iseries/vcd" 51#define VIOCD_DEVICE "iseries/vcd"
52#define VIOCD_DEVICE_DEVFS "iseries/vcd"
53 52
54#define VIOCD_VERS "1.06" 53#define VIOCD_VERS "1.06"
55 54
@@ -688,8 +687,6 @@ static int viocd_probe(struct vio_dev *vdev, const struct vio_device_id *id)
688 gendisk->first_minor = deviceno; 687 gendisk->first_minor = deviceno;
689 strncpy(gendisk->disk_name, c->name, 688 strncpy(gendisk->disk_name, c->name,
690 sizeof(gendisk->disk_name)); 689 sizeof(gendisk->disk_name));
691 snprintf(gendisk->devfs_name, sizeof(gendisk->devfs_name),
692 VIOCD_DEVICE_DEVFS "%d", deviceno);
693 blk_queue_max_hw_segments(q, 1); 690 blk_queue_max_hw_segments(q, 1);
694 blk_queue_max_phys_segments(q, 1); 691 blk_queue_max_phys_segments(q, 1);
695 blk_queue_max_sectors(q, 4096 / 512); 692 blk_queue_max_sectors(q, 4096 / 512);