[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>
This commit is contained in:
@@ -1089,7 +1089,6 @@ static int i2o_block_probe(struct device *dev)
|
||||
gd = i2o_blk_dev->gd;
|
||||
gd->first_minor = unit << 4;
|
||||
sprintf(gd->disk_name, "i2o/hd%c", 'a' + unit);
|
||||
sprintf(gd->devfs_name, "i2o/hd%c", 'a' + unit);
|
||||
gd->driverfs_dev = &i2o_dev->device;
|
||||
|
||||
/* setup request queue */
|
||||
|
Reference in New Issue
Block a user