summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2019-07-08 19:43:39 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-07-11 20:33:52 -0400
commit9b79ee9773a8c11772b2d0ed0cec831c7a68dc4f (patch)
treee5cbfb22adb6f929c91ad90f5bfa42ca99aa5924
parent6764f519bcb007bf09f328133311d6cdc2bbc72f (diff)
downloadlinux-9b79ee9773a8c11772b2d0ed0cec831c7a68dc4f.tar.gz
linux-9b79ee9773a8c11772b2d0ed0cec831c7a68dc4f.tar.bz2
linux-9b79ee9773a8c11772b2d0ed0cec831c7a68dc4f.zip
scsi: libsas: remove the exporting of sas_wait_eh
The function sas_wait_eh is declared static and marked EXPORT_SYMBOL, which is at best an odd combination. Because the function is not used outside of the drivers/scsi/libsas/sas_scsi_host.c file it is defined in, this commit removes the EXPORT_SYMBOL() marking. Signed-off-by: Denis Efremov <efremov@linux.com> Reviewed-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/libsas/sas_scsi_host.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index 602bd1a17a63..8c04f1b97a85 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -414,7 +414,6 @@ static void sas_wait_eh(struct domain_device *dev)
goto retry;
}
}
-EXPORT_SYMBOL(sas_wait_eh);
static int sas_queue_reset(struct domain_device *dev, int reset_type,
u64 lun, int wait)