diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 21:15:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 12:25:08 -0700 |
commit | ce7b0f46bbf4bff8daab2dd3d878b9e72a623d09 (patch) | |
tree | 7a860cf52fbf1ff768197702af60a8329d296dff /drivers/block/umem.c | |
parent | 96192ff1a9d0c6ef365d21667080259d83ea2f5b (diff) | |
download | op-kernel-dev-ce7b0f46bbf4bff8daab2dd3d878b9e72a623d09.zip op-kernel-dev-ce7b0f46bbf4bff8daab2dd3d878b9e72a623d09.tar.gz |
[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/umem.c')
-rw-r--r-- | drivers/block/umem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/umem.c b/drivers/block/umem.c index f7d4c65..585197b 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c @@ -1192,7 +1192,6 @@ static int __init mm_init(void) for (i = 0; i < num_cards; i++) { struct gendisk *disk = mm_gendisk[i]; sprintf(disk->disk_name, "umem%c", 'a'+i); - sprintf(disk->devfs_name, "umem/card%d", i); spin_lock_init(&cards[i].lock); disk->major = major_nr; disk->first_minor = i << MM_SHIFT; |