[PATCH v2 02/20] scsi: core: Unexport scsi_track_queue_full()

Bart Van Assche
2021-11-19T19:57:57Z

Commit 408dea0ed41c ("[PATCH] kill scsi_syms.c") exported
scsi_track_queue_full() and introduced a call to that function in
drivers/scsi/tmscsim.c. Commit 71bd849dbac9 ("tmscsim: replace by am53c974
driver") removed source file drivers/scsi/tmscsim.c. Since
scsi_track_queue_full() is no longer used outside the SCSI core, unexport
this function.

Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
drivers/scsi/scsi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index f6af1562cba4..ace6d477034b 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -276,7 +276,6 @@ int scsi_track_queue_full(struct scsi_device *sdev, int depth)

return scsi_change_queue_depth(sdev, depth);
}
-EXPORT_SYMBOL(scsi_track_queue_full);

/**
* scsi_vpd_inquiry - Request a device provide us with a VPD page