diff options
author | Christoph Hellwig <hch@lst.de> | 2020-10-05 10:41:21 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-07 21:48:27 -0400 |
commit | 2ba87c43872fc6bf30ff8c94adb96f82b61ee1d8 (patch) | |
tree | aadadd93379727906e0a95125ed3ccf7501faf9d /drivers/scsi/scsi_lib.c | |
parent | 69f4ec1edb136d2d2511d1ef96f94ef0aeecefdf (diff) |
scsi: core: Don't export scsi_device_from_queue()
This function is only used by code built into scsi_mod.ko.
Link: https://lore.kernel.org/r/20201005084130.143273-2-hch@lst.de
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 4e49469b6c53..996ab5ab6fda 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1968,7 +1968,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q) return sdev; } -EXPORT_SYMBOL_GPL(scsi_device_from_queue); /** * scsi_block_requests - Utility function used by low-level drivers to prevent |