scsi: libsas: remove the exporting of sas_wait_eh
authorDenis Efremov <efremov@linux.com>
Mon, 8 Jul 2019 16:43:39 +0000 (19:43 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 12 Jul 2019 00:33:52 +0000 (20:33 -0400)
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>
drivers/scsi/libsas/sas_scsi_host.c

index 602bd1a17a6358578c25d20a05028bac508e9854..8c04f1b97a85b30909dca96845522560c9f35039 100644 (file)
@@ -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)