* [PATCH] sas: remove sas_domain_release_transport
@ 2017-04-03 14:32 Johannes Thumshirn
2017-04-04 11:47 ` Hannes Reinecke
2017-04-05 0:17 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Johannes Thumshirn @ 2017-04-03 14:32 UTC (permalink / raw)
To: Martin K . Petersen
Cc: James Bottomley, Linux SCSI Mailinglist,
Linux Kernel Mailinglist, Johannes Thumshirn
sas_domain_release_transport is unused since at least v3.13, remove it.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
drivers/scsi/libsas/sas_init.c | 7 -------
include/scsi/libsas.h | 1 -
2 files changed, 8 deletions(-)
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c
index 15ef8e2..64e9cdd 100644
--- a/drivers/scsi/libsas/sas_init.c
+++ b/drivers/scsi/libsas/sas_init.c
@@ -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)
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index dae99d7..dd0f72c 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -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 *);
--
2.10.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sas: remove sas_domain_release_transport
2017-04-03 14:32 [PATCH] sas: remove sas_domain_release_transport Johannes Thumshirn
@ 2017-04-04 11:47 ` Hannes Reinecke
2017-04-05 0:17 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Hannes Reinecke @ 2017-04-04 11:47 UTC (permalink / raw)
To: Johannes Thumshirn, Martin K . Petersen
Cc: James Bottomley, Linux SCSI Mailinglist, Linux Kernel Mailinglist
On 04/03/2017 04:32 PM, Johannes Thumshirn wrote:
> sas_domain_release_transport is unused since at least v3.13, remove it.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> ---
> drivers/scsi/libsas/sas_init.c | 7 -------
> include/scsi/libsas.h | 1 -
> 2 files changed, 8 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sas: remove sas_domain_release_transport
2017-04-03 14:32 [PATCH] sas: remove sas_domain_release_transport Johannes Thumshirn
2017-04-04 11:47 ` Hannes Reinecke
@ 2017-04-05 0:17 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2017-04-05 0:17 UTC (permalink / raw)
To: Johannes Thumshirn
Cc: Martin K . Petersen, James Bottomley, Linux SCSI Mailinglist,
Linux Kernel Mailinglist
Johannes Thumshirn <jthumshirn@suse.de> writes:
Johannes,
> sas_domain_release_transport is unused since at least v3.13, remove
> it.
Applied to 4.12/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-05 0:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 14:32 [PATCH] sas: remove sas_domain_release_transport Johannes Thumshirn
2017-04-04 11:47 ` Hannes Reinecke
2017-04-05 0:17 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).