summaryrefslogtreecommitdiff
path: root/drivers/block/acsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/acsi.c')
-rw-r--r--drivers/block/acsi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/block/acsi.c b/drivers/block/acsi.c
index 196c0ec9cd5..a317e430395 100644
--- a/drivers/block/acsi.c
+++ b/drivers/block/acsi.c
@@ -1732,13 +1732,10 @@ int acsi_init( void )
struct gendisk *disk = acsi_gendisk[i];
sprintf(disk->disk_name, "ad%c", 'a'+i);
aip = &acsi_info[NDevices];
- sprintf(disk->devfs_name, "ad/target%d/lun%d", aip->target, aip->lun);
disk->major = ACSI_MAJOR;
disk->first_minor = i << 4;
- if (acsi_info[i].type != HARDDISK) {
+ if (acsi_info[i].type != HARDDISK)
disk->minors = 1;
- strcat(disk->devfs_name, "/disc");
- }
disk->fops = &acsi_fops;
disk->private_data = &acsi_info[i];
set_capacity(disk, acsi_info[i].size);