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/loop.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/loop.c')
-rw-r--r-- | drivers/block/loop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index dbf905ce0248..9983e7200210 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -1293,7 +1293,6 @@ static int __init loop_init(void) | |||
1293 | disk->first_minor = i; | 1293 | disk->first_minor = i; |
1294 | disk->fops = &lo_fops; | 1294 | disk->fops = &lo_fops; |
1295 | sprintf(disk->disk_name, "loop%d", i); | 1295 | sprintf(disk->disk_name, "loop%d", i); |
1296 | sprintf(disk->devfs_name, "loop/%d", i); | ||
1297 | disk->private_data = lo; | 1296 | disk->private_data = lo; |
1298 | disk->queue = lo->lo_queue; | 1297 | disk->queue = lo->lo_queue; |
1299 | } | 1298 | } |