nvme-pci: Remove tag from process cq
authorKeith Busch <kbusch@kernel.org>
Mon, 2 Mar 2020 16:45:04 +0000 (08:45 -0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:48:06 +0000 (04:48 +0900)
commitbf392a5dc02a9b796f3da89fc5bb42856aca64cb
tree0c7c668453af6e3c2ceda1f49fbff2c8a5298967
parente2a366a4b0feaeba8f0bf6091ddd2ac27507a9d3
nvme-pci: Remove tag from process cq

The only user for tagged completion was for timeout handling. That user,
though, really only cares if the timed out command is completed, which
we can safely check within the timeout handler.

Remove the tag check to simplify completion handling.

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