nvme-pci: remove q_dmadev from nvme_queue
authorKeith Busch <keith.busch@intel.com>
Fri, 8 Mar 2019 17:43:11 +0000 (10:43 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 5 Apr 2019 06:07:57 +0000 (08:07 +0200)
commit88a041f4c1f6a21284c70b491929ed35336a0ea9
tree59951b0c83df44f60b6319326421448ab8e1dbd5
parent7c349dde26b75db3fa1863e36984ac2271cd797a
nvme-pci: remove q_dmadev from nvme_queue

We don't need to save the dma device as it's not used in the hot path
and hasn't in a long time. Shrink the struct nvme_queue removing this
unnecessary member.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c