mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
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>
This commit is contained in:
parent
69f4ec1edb
commit
2ba87c4387
@ -1968,7 +1968,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q)
|
|||||||
|
|
||||||
return sdev;
|
return sdev;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(scsi_device_from_queue);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* scsi_block_requests - Utility function used by low-level drivers to prevent
|
* scsi_block_requests - Utility function used by low-level drivers to prevent
|
||||||
|
Loading…
Reference in New Issue
Block a user