nvme-pci: open-code polling logic in nvme_poll
authorSagi Grimberg <sagi@grimberg.me>
Sun, 18 Jun 2017 14:28:10 +0000 (17:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 14:14:13 +0000 (08:14 -0600)
commit442e19b7ccb25337be7bfff96df94c38c037ee9f
tree592702bd98fadae1685eaf5c23f70aac73c04e32
parent920d13a884c0595451658a7b48af8ac16918628f
nvme-pci: open-code polling logic in nvme_poll

Given that the code is simple enough it seems better
then passing a tag by reference for each call site, also
we can now get rid of __nvme_process_cq.

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