]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d83a0c76867a9a31245b6f454087e55a1e93a6e
tree8455c407848d9105e57189b84d3d40fbf9f1a63b
parentc7aecb936362713a3992ac32cf20cc82b627ded6
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