diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-24 18:01:11 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 21:29:18 -0400 |
commit | 13ec92b33e4f41b81b3a237ad1d9a588a81f2f03 (patch) | |
tree | c4fbddf53e80c3f93ccd09e2a08ea3ac13322ef7 | |
parent | 91ca7b01ecc916632202180569a7ddbfccfc3f05 (diff) |
[SCSI] kill unused scsi_scan_single_target()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/scsi_scan.c | 13 | ||||
-rw-r--r-- | include/scsi/scsi_host.h | 2 |
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index ce8456c3b718..e8f6fee34c94 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -1451,19 +1451,6 @@ void scsi_scan_host(struct Scsi_Host *shost) | |||
1451 | } | 1451 | } |
1452 | EXPORT_SYMBOL(scsi_scan_host); | 1452 | EXPORT_SYMBOL(scsi_scan_host); |
1453 | 1453 | ||
1454 | /** | ||
1455 | * scsi_scan_single_target - scan the given SCSI target | ||
1456 | * @shost: adapter to scan | ||
1457 | * @chan: channel to scan | ||
1458 | * @id: target id to scan | ||
1459 | **/ | ||
1460 | void scsi_scan_single_target(struct Scsi_Host *shost, | ||
1461 | unsigned int chan, unsigned int id) | ||
1462 | { | ||
1463 | scsi_scan_host_selected(shost, chan, id, SCAN_WILD_CARD, 1); | ||
1464 | } | ||
1465 | EXPORT_SYMBOL(scsi_scan_single_target); | ||
1466 | |||
1467 | void scsi_forget_host(struct Scsi_Host *shost) | 1454 | void scsi_forget_host(struct Scsi_Host *shost) |
1468 | { | 1455 | { |
1469 | struct scsi_device *sdev; | 1456 | struct scsi_device *sdev; |
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index ea7ad7235397..ecd53d7872d2 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -638,8 +638,6 @@ extern void scsi_flush_work(struct Scsi_Host *); | |||
638 | extern struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *, int); | 638 | extern struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *, int); |
639 | extern int __must_check scsi_add_host(struct Scsi_Host *, struct device *); | 639 | extern int __must_check scsi_add_host(struct Scsi_Host *, struct device *); |
640 | extern void scsi_scan_host(struct Scsi_Host *); | 640 | extern void scsi_scan_host(struct Scsi_Host *); |
641 | extern void scsi_scan_single_target(struct Scsi_Host *, unsigned int, | ||
642 | unsigned int); | ||
643 | extern void scsi_rescan_device(struct device *); | 641 | extern void scsi_rescan_device(struct device *); |
644 | extern void scsi_remove_host(struct Scsi_Host *); | 642 | extern void scsi_remove_host(struct Scsi_Host *); |
645 | extern struct Scsi_Host *scsi_host_get(struct Scsi_Host *); | 643 | extern struct Scsi_Host *scsi_host_get(struct Scsi_Host *); |