summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2005-06-21 06:15:16 +0200
committerGreg Kroah-Hartman2006-06-26 21:25:06 +0200
commit94f6c59dcf16f10a20fbe3d1f098b159433f94bd (patch)
tree06ec8cdb07de07389aa80fb394724ac07615a887 /drivers/ide/ide-disk.c
parent[PATCH] devfs: Remove devfs support from the serial subsystem (diff)
downloadkernel-qcow2-linux-94f6c59dcf16f10a20fbe3d1f098b159433f94bd.tar.gz
kernel-qcow2-linux-94f6c59dcf16f10a20fbe3d1f098b159433f94bd.tar.xz
kernel-qcow2-linux-94f6c59dcf16f10a20fbe3d1f098b159433f94bd.zip
[PATCH] devfs: Remove devfs support from the ide subsystem.
Also removes the ide drive devfs_name field as it's no longer needed Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r--drivers/ide/ide-disk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index a5017de72da5..d79526320717 100644
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -1018,7 +1018,6 @@ static void ide_disk_release(struct kref *kref)
struct gendisk *g = idkp->disk;
drive->driver_data = NULL;
- drive->devfs_name[0] = '\0';
g->private_data = NULL;
put_disk(g);
kfree(idkp);
@@ -1222,7 +1221,6 @@ static int ide_disk_probe(ide_drive_t *drive)
drive->attach = 1;
g->minors = 1 << PARTN_BITS;
- strcpy(g->devfs_name, drive->devfs_name);
g->driverfs_dev = &drive->gendev;
g->flags = drive->removable ? GENHD_FL_REMOVABLE : 0;
set_capacity(g, idedisk_capacity(drive));