diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-11-17 20:59:46 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 14:36:36 -0500 |
commit | 6f4e75a49fd07d707995865493b9f452302ae36b (patch) | |
tree | 05f623463250c0e5f06d2a491b39f4edb93236e8 /drivers/scsi | |
parent | 95ac7fd189b7e81a200b4d00b2bb6669b31acf3a (diff) |
[SCSI] libsas: kill sas_slave_destroy
Per commit 3e4ec344 "libata: kill ATA_FLAG_DISABLED" needing to set
ATA_DEV_NONE is a holdover from before libsas converted to the
"new-style" ata-eh.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 1 | ||||
-rw-r--r-- | drivers/scsi/isci/init.c | 1 | ||||
-rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 9 | ||||
-rw-r--r-- | drivers/scsi/mvsas/mv_init.c | 1 | ||||
-rw-r--r-- | drivers/scsi/pm8001/pm8001_init.c | 1 |
5 files changed, 0 insertions, 13 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index d5ff142c93a2..8db4e727628a 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c | |||
@@ -68,7 +68,6 @@ static struct scsi_host_template aic94xx_sht = { | |||
68 | .queuecommand = sas_queuecommand, | 68 | .queuecommand = sas_queuecommand, |
69 | .target_alloc = sas_target_alloc, | 69 | .target_alloc = sas_target_alloc, |
70 | .slave_configure = sas_slave_configure, | 70 | .slave_configure = sas_slave_configure, |
71 | .slave_destroy = sas_slave_destroy, | ||
72 | .scan_finished = asd_scan_finished, | 71 | .scan_finished = asd_scan_finished, |
73 | .scan_start = asd_scan_start, | 72 | .scan_start = asd_scan_start, |
74 | .change_queue_depth = sas_change_queue_depth, | 73 | .change_queue_depth = sas_change_queue_depth, |
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index 6b911e0aea3f..7ba236e9fab2 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c | |||
@@ -154,7 +154,6 @@ static struct scsi_host_template isci_sht = { | |||
154 | .queuecommand = sas_queuecommand, | 154 | .queuecommand = sas_queuecommand, |
155 | .target_alloc = sas_target_alloc, | 155 | .target_alloc = sas_target_alloc, |
156 | .slave_configure = sas_slave_configure, | 156 | .slave_configure = sas_slave_configure, |
157 | .slave_destroy = sas_slave_destroy, | ||
158 | .scan_finished = isci_host_scan_finished, | 157 | .scan_finished = isci_host_scan_finished, |
159 | .scan_start = isci_host_scan_start, | 158 | .scan_start = isci_host_scan_start, |
160 | .change_queue_depth = sas_change_queue_depth, | 159 | .change_queue_depth = sas_change_queue_depth, |
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index b6e233d9a0a1..e95e5e17bd88 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c | |||
@@ -797,14 +797,6 @@ int sas_slave_configure(struct scsi_device *scsi_dev) | |||
797 | return 0; | 797 | return 0; |
798 | } | 798 | } |
799 | 799 | ||
800 | void sas_slave_destroy(struct scsi_device *scsi_dev) | ||
801 | { | ||
802 | struct domain_device *dev = sdev_to_domain_dev(scsi_dev); | ||
803 | |||
804 | if (dev_is_sata(dev)) | ||
805 | sas_to_ata_dev(dev)->class = ATA_DEV_NONE; | ||
806 | } | ||
807 | |||
808 | int sas_change_queue_depth(struct scsi_device *sdev, int depth, int reason) | 800 | int sas_change_queue_depth(struct scsi_device *sdev, int depth, int reason) |
809 | { | 801 | { |
810 | struct domain_device *dev = sdev_to_domain_dev(sdev); | 802 | struct domain_device *dev = sdev_to_domain_dev(sdev); |
@@ -1108,7 +1100,6 @@ EXPORT_SYMBOL_GPL(sas_request_addr); | |||
1108 | EXPORT_SYMBOL_GPL(sas_queuecommand); | 1100 | EXPORT_SYMBOL_GPL(sas_queuecommand); |
1109 | EXPORT_SYMBOL_GPL(sas_target_alloc); | 1101 | EXPORT_SYMBOL_GPL(sas_target_alloc); |
1110 | EXPORT_SYMBOL_GPL(sas_slave_configure); | 1102 | EXPORT_SYMBOL_GPL(sas_slave_configure); |
1111 | EXPORT_SYMBOL_GPL(sas_slave_destroy); | ||
1112 | EXPORT_SYMBOL_GPL(sas_change_queue_depth); | 1103 | EXPORT_SYMBOL_GPL(sas_change_queue_depth); |
1113 | EXPORT_SYMBOL_GPL(sas_change_queue_type); | 1104 | EXPORT_SYMBOL_GPL(sas_change_queue_type); |
1114 | EXPORT_SYMBOL_GPL(sas_bios_param); | 1105 | EXPORT_SYMBOL_GPL(sas_bios_param); |
diff --git a/drivers/scsi/mvsas/mv_init.c b/drivers/scsi/mvsas/mv_init.c index 6f589195746c..d45878b31254 100644 --- a/drivers/scsi/mvsas/mv_init.c +++ b/drivers/scsi/mvsas/mv_init.c | |||
@@ -60,7 +60,6 @@ static struct scsi_host_template mvs_sht = { | |||
60 | .queuecommand = sas_queuecommand, | 60 | .queuecommand = sas_queuecommand, |
61 | .target_alloc = sas_target_alloc, | 61 | .target_alloc = sas_target_alloc, |
62 | .slave_configure = sas_slave_configure, | 62 | .slave_configure = sas_slave_configure, |
63 | .slave_destroy = sas_slave_destroy, | ||
64 | .scan_finished = mvs_scan_finished, | 63 | .scan_finished = mvs_scan_finished, |
65 | .scan_start = mvs_scan_start, | 64 | .scan_start = mvs_scan_start, |
66 | .change_queue_depth = sas_change_queue_depth, | 65 | .change_queue_depth = sas_change_queue_depth, |
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index c21a2163f9f6..bd165ea61919 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c | |||
@@ -62,7 +62,6 @@ static struct scsi_host_template pm8001_sht = { | |||
62 | .queuecommand = sas_queuecommand, | 62 | .queuecommand = sas_queuecommand, |
63 | .target_alloc = sas_target_alloc, | 63 | .target_alloc = sas_target_alloc, |
64 | .slave_configure = sas_slave_configure, | 64 | .slave_configure = sas_slave_configure, |
65 | .slave_destroy = sas_slave_destroy, | ||
66 | .scan_finished = pm8001_scan_finished, | 65 | .scan_finished = pm8001_scan_finished, |
67 | .scan_start = pm8001_scan_start, | 66 | .scan_start = pm8001_scan_start, |
68 | .change_queue_depth = sas_change_queue_depth, | 67 | .change_queue_depth = sas_change_queue_depth, |