]> www.infradead.org Git - users/hch/block.git/commit
scsi: remove an extra queue reference
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Oct 2022 04:59:53 +0000 (06:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 17 Oct 2022 04:59:53 +0000 (06:59 +0200)
commit3725e36dcd217fd4f23240badaa8deb0c721a55c
tree69b2102998310a8d405e7645dc08dc798b5578fe
parent10d0fb464c3a984ed77e168f438ed06f0f3e697f
scsi: remove an extra queue reference

Now that blk_mq_destroy_queue does not release the queue reference, there
is no need for a second queue reference to be held by the scsi_device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_sysfs.c