nvme-pci: factor out cqe handling into a dedicated routine
authorSagi Grimberg <sagi@grimberg.me>
Sun, 18 Jun 2017 14:28:08 +0000 (17:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 14:14:13 +0000 (08:14 -0600)
commit83a12fb77b941a6735026e46c8ef5f4ec1204e97
tree9410ae40e14d107e6cb4cc711499542c40cd2630
parenteb281c8283e87a2d1d6ed406f9c6408c39737b4d
nvme-pci: factor out cqe handling into a dedicated routine

Makes the code slightly more readable.

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