nvme-pci: use nvme core helper to cancel requests in tagset
authorGuixin Liu <kanie@linux.alibaba.com>
Fri, 8 Jul 2022 03:04:37 +0000 (11:04 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Jul 2022 15:34:38 +0000 (17:34 +0200)
commit2e099afdcaf50ea9858047030027655426d64b62
treec405544cc3bc019b2f745c4ab9c6fbaebbede9ac
parenta70c11e1174ee394d50c9d7b4f485b6771a60b88
nvme-pci: use nvme core helper to cancel requests in tagset

Use nvme core helper nvme_cancel_tagset and nvme_cancel_admin_tagset
instead of same logic code.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Ruozhu Li <liruozhu@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c