diff mbox

[RFC,mkp-scsi] scsi: libsas: sas_destruct_ports() can be static

Message ID 20180109075158.GA143587@lkp-ib03 (mailing list archive)
State Accepted
Headers show

Commit Message

Fengguang Wu Jan. 9, 2018, 7:51 a.m. UTC
Fixes: 99cfdc04c12e ("scsi: libsas: direct call probe and destruct")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 sas_discover.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index 190108e..e4fd078 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -361,7 +361,7 @@  void sas_destruct_devices(struct asd_sas_port *port)
 	}
 }
 
-void sas_destruct_ports(struct asd_sas_port *port)
+static void sas_destruct_ports(struct asd_sas_port *port)
 {
 	struct sas_port *sas_port, *p;