From: Christoph Hellwig Date: Mon, 5 Oct 2020 08:41:21 +0000 (+0200) Subject: scsi: core: Don't export scsi_device_from_queue() X-Git-Tag: howlett/maple_spf/20210104~720^2~37 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2ba87c43872fc6bf30ff8c94adb96f82b61ee1d8;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Christoph Hellwig Signed-off-by: Martin K. Petersen --- 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