OSDN Git Service

nvme-pci: remove nvme_queue from nvme_iod
authorKeith Busch <kbusch@kernel.org>
Tue, 6 Sep 2022 16:07:35 +0000 (09:07 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2022 15:55:25 +0000 (17:55 +0200)
commita53232cb3abef51524f06ee9d8fbc3364ad95794
treefc8923dc89618bd65b77b513ed88de024318d8a1
parent4cde03d82e2d0056d20fd5af6a264c7f5e6a3e76
nvme-pci: remove nvme_queue from nvme_iod

We can get the nvme_queue from the req just as easily, so remove the
duplicate path to the same structure to save some space.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c