summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2006-01-18 16:17:46 -0800
committer <jejb@mulgrave.il.steeleye.com>2006-02-27 22:55:04 -0600
commit5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 (patch)
tree812e95ccda5860a16fe3f53343499d2c607cbf23 /drivers/scsi/sr.c
parentc67a848c3587296fe9794c95d1be7109c4c85461 (diff)
[SCSI] Remove devfs support from the SCSI subsystem
As devfs has been disabled from the kernel tree for a number of months now (5 to be exact), here's a patch against 2.6.16-rc1-git1 that removes support for it from the SCSI subsystem. The patch also removes the scsi_disk devfs_name field as it's no longer needed. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sr.c')
-rw-r--r--drivers/scsi/sr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index d8d12a1718b..328837b7ccb 100644
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -573,8 +573,6 @@ static int sr_probe(struct device *dev)
get_capabilities(cd);
sr_vendor_init(cd);
- snprintf(disk->devfs_name, sizeof(disk->devfs_name),
- "%s/cd", sdev->devfs_name);
disk->driverfs_dev = &sdev->sdev_gendev;
set_capacity(disk, cd->capacity);
disk->private_data = &cd->driver;