aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/sx8.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:08 -0400
commitce7b0f46bbf4bff8daab2dd3d878b9e72a623d09 (patch)
tree7a860cf52fbf1ff768197702af60a8329d296dff /drivers/block/sx8.c
parent96192ff1a9d0c6ef365d21667080259d83ea2f5b (diff)
[PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed
And remove the now unneeded number field. Also fixes all drivers that set these fields. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/sx8.c')
-rw-r--r--drivers/block/sx8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c
index 3a4814551568..fbddeb4b04a2 100644
--- a/drivers/block/sx8.c
+++ b/drivers/block/sx8.c
@@ -1509,7 +1509,6 @@ static int carm_init_disks(struct carm_host *host)
1509 port->disk = disk; 1509 port->disk = disk;
1510 sprintf(disk->disk_name, DRV_NAME "/%u", 1510 sprintf(disk->disk_name, DRV_NAME "/%u",
1511 (unsigned int) (host->id * CARM_MAX_PORTS) + i); 1511 (unsigned int) (host->id * CARM_MAX_PORTS) + i);
1512 sprintf(disk->devfs_name, DRV_NAME "/%u_%u", host->id, i);
1513 disk->major = host->major; 1512 disk->major = host->major;
1514 disk->first_minor = i * CARM_MINORS_PER_MAJOR; 1513 disk->first_minor = i * CARM_MINORS_PER_MAJOR;
1515 disk->fops = &carm_bd_ops; 1514 disk->fops = &carm_bd_ops;