diff options
author | Greg KH <gregkh@suse.de> | 2006-01-18 19:17:46 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-27 23:55:04 -0500 |
commit | 5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 (patch) | |
tree | 812e95ccda5860a16fe3f53343499d2c607cbf23 /drivers/scsi/scsi_scan.c | |
parent | c67a848c3587296fe9794c95d1be7109c4c85461 (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/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 74863da1d630..dfdbbd008630 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -687,12 +687,8 @@ static int scsi_add_lun(struct scsi_device *sdev, char *inq_result, int *bflags) | |||
687 | if (inq_result[7] & 0x10) | 687 | if (inq_result[7] & 0x10) |
688 | sdev->sdtr = 1; | 688 | sdev->sdtr = 1; |
689 | 689 | ||
690 | sprintf(sdev->devfs_name, "scsi/host%d/bus%d/target%d/lun%d", | ||
691 | sdev->host->host_no, sdev->channel, | ||
692 | sdev->id, sdev->lun); | ||
693 | |||
694 | /* | 690 | /* |
695 | * End driverfs/devfs code. | 691 | * End sysfs code. |
696 | */ | 692 | */ |
697 | 693 | ||
698 | if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && | 694 | if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && |