scsi: sas: remove sas_domain_release_transport
authorJohannes Thumshirn <jthumshirn@suse.de>
Mon, 3 Apr 2017 14:32:50 +0000 (16:32 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 5 Apr 2017 00:16:38 +0000 (20:16 -0400)
sas_domain_release_transport is unused since at least v3.13, remove it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_init.c
include/scsi/libsas.h

index 15ef8e2e685c5cd094c3d0784de4aab45159e62e..64e9cdda1c3ca01d47d60fcbf535dea44507fdb3 100644 (file)
@@ -566,13 +566,6 @@ sas_domain_attach_transport(struct sas_domain_function_template *dft)
 }
 EXPORT_SYMBOL_GPL(sas_domain_attach_transport);
 
-
-void sas_domain_release_transport(struct scsi_transport_template *stt)
-{
-       sas_release_transport(stt);
-}
-EXPORT_SYMBOL_GPL(sas_domain_release_transport);
-
 /* ---------- SAS Class register/unregister ---------- */
 
 static int __init sas_class_init(void)
index dae99d7d2bc05a265faddb5a4f953d34f99e4ef1..dd0f72c95abe19bd09bcc7fbd34fb555f3b84e98 100644 (file)
@@ -693,7 +693,6 @@ extern int sas_bios_param(struct scsi_device *,
                          sector_t capacity, int *hsc);
 extern struct scsi_transport_template *
 sas_domain_attach_transport(struct sas_domain_function_template *);
-extern void sas_domain_release_transport(struct scsi_transport_template *);
 
 int  sas_discover_root_expander(struct domain_device *);