diff mbox

scsi: unexport scsi_host_set_state

Message ID 20180319073458.8683-1-hch@lst.de (mailing list archive)
State Accepted
Headers show

Commit Message

Christoph Hellwig March 19, 2018, 7:34 a.m. UTC
This function is only used inside the SCSI midlayer, so remove the
export for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/hosts.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Johannes Thumshirn March 19, 2018, 9:04 a.m. UTC | #1
Looks good,
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Bart Van Assche March 19, 2018, 5:55 p.m. UTC | #2
On Mon, 2018-03-19 at 08:34 +0100, Christoph Hellwig wrote:
> This function is only used inside the SCSI midlayer, so remove the

> export for it.


Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Martin K. Petersen March 20, 2018, 3:07 a.m. UTC | #3
Christoph,

> This function is only used inside the SCSI midlayer, so remove the
> export for it.

Applied to 4.17/scsi-queue. Thank you!
diff mbox

Patch

diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index a0a7e4ff255c..0a5362822ed6 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -154,7 +154,6 @@  int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state)
 					     scsi_host_state_name(state)));
 	return -EINVAL;
 }
-EXPORT_SYMBOL(scsi_host_set_state);
 
 /**
  * scsi_remove_host - remove a scsi host