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/cdrom/gscd.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/cdrom/gscd.c')
-rw-r--r-- | drivers/cdrom/gscd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cdrom/gscd.c b/drivers/cdrom/gscd.c index ad5464ab99bc..b6ee50a2916d 100644 --- a/drivers/cdrom/gscd.c +++ b/drivers/cdrom/gscd.c | |||
@@ -955,7 +955,6 @@ static int __init gscd_init(void) | |||
955 | gscd_disk->first_minor = 0; | 955 | gscd_disk->first_minor = 0; |
956 | gscd_disk->fops = &gscd_fops; | 956 | gscd_disk->fops = &gscd_fops; |
957 | sprintf(gscd_disk->disk_name, "gscd"); | 957 | sprintf(gscd_disk->disk_name, "gscd"); |
958 | sprintf(gscd_disk->devfs_name, "gscd"); | ||
959 | 958 | ||
960 | if (register_blkdev(MAJOR_NR, "gscd")) { | 959 | if (register_blkdev(MAJOR_NR, "gscd")) { |
961 | ret = -EIO; | 960 | ret = -EIO; |