nvme-pci: Simplify nvme_poll_irqdisable
authorKeith Busch <kbusch@kernel.org>
Wed, 4 Mar 2020 17:17:01 +0000 (09:17 -0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:48:06 +0000 (04:48 +0900)
commitfa059b856a593a7bddd4d3779ae8ab1380e05d91
tree8455c407848d9105e57189b84d3d40fbf9f1a63b
parent324b494c286298d51bc5ed5107644ebe23f9dad6
nvme-pci: Simplify nvme_poll_irqdisable

The timeout handler can use the existing nvme_poll() if it needs to
check a polled queue, allowing nvme_poll_irqdisable() to handle only
irq driven queues for the remaining callers.

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