[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:
@@ -1918,7 +1918,6 @@ static int __init aztcd_init(void)
|
||||
azt_disk->first_minor = 0;
|
||||
azt_disk->fops = &azt_fops;
|
||||
sprintf(azt_disk->disk_name, "aztcd");
|
||||
sprintf(azt_disk->devfs_name, "aztcd");
|
||||
azt_disk->queue = azt_queue;
|
||||
add_disk(azt_disk);
|
||||
azt_invalidate_buffers();
|
||||
|
Reference in New Issue
Block a user