diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:08 -0400 |
commit | ce7b0f46bbf4bff8daab2dd3d878b9e72a623d09 (patch) | |
tree | 7a860cf52fbf1ff768197702af60a8329d296dff /drivers/block/DAC960.c | |
parent | 96192ff1a9d0c6ef365d21667080259d83ea2f5b (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/DAC960.c')
-rw-r--r-- | drivers/block/DAC960.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index dd8a1501142f..50ca1aa4ee3b 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c | |||
@@ -2530,7 +2530,6 @@ static boolean DAC960_RegisterBlockDevice(DAC960_Controller_T *Controller) | |||
2530 | blk_queue_max_sectors(RequestQueue, Controller->MaxBlocksPerCommand); | 2530 | blk_queue_max_sectors(RequestQueue, Controller->MaxBlocksPerCommand); |
2531 | disk->queue = RequestQueue; | 2531 | disk->queue = RequestQueue; |
2532 | sprintf(disk->disk_name, "rd/c%dd%d", Controller->ControllerNumber, n); | 2532 | sprintf(disk->disk_name, "rd/c%dd%d", Controller->ControllerNumber, n); |
2533 | sprintf(disk->devfs_name, "rd/host%d/target%d", Controller->ControllerNumber, n); | ||
2534 | disk->major = MajorNumber; | 2533 | disk->major = MajorNumber; |
2535 | disk->first_minor = n << DAC960_MaxPartitionsBits; | 2534 | disk->first_minor = n << DAC960_MaxPartitionsBits; |
2536 | disk->fops = &DAC960_BlockDeviceOperations; | 2535 | disk->fops = &DAC960_BlockDeviceOperations; |