scsi: core: Inline scsi_mq_alloc_queue()
authorBart Van Assche <bvanassche@acm.org>
Tue, 22 Jun 2021 02:46:54 +0000 (19:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Jun 2021 01:18:40 +0000 (21:18 -0400)
commit59506abe5e3474cd69b768b2c1a5760f872c72fe
treec89916e7c3eeb01c1628661e544ade34721ebe46
parent332a9dd1d86f1e7203fc7f0fd7e82f0b304200fe
scsi: core: Inline scsi_mq_alloc_queue()

Since scsi_mq_alloc_queue() only has one caller, inline it. This change was
suggested by Christoph Hellwig.

Link: https://lore.kernel.org/r/20210622024654.12543-1-bvanassche@acm.org
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Ed Tsai <ed.tsai@mediatek.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_scan.c