Skip to content

Commit

Permalink
scsi: core: Don't export scsi_device_from_queue()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Martin K. Petersen committed Oct 8, 2020
1 parent 69f4ec1 commit 2ba87c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ba87c4

Please sign in to comment.