[PATCH v2 1/9] nvme-pci: remove write-only NVMEQ_DELETE_ERROR flag
Christoph Hellwig
hch at lst.de
Fri Nov 6 02:36:04 PST 2026
On Fri, Nov 06, 2026 at 10:27:28AM +0800, Guixin Liu wrote:
> Commit fa46c6fb5d61b ("nvme/pci: move cqe check after device shutdown")
> removed the only reader of the NVMEQ_DELETE_ERROR flag, but left the
> flag and its two writes behind. Without a reader the flag carries no
> state, and nvme_del_cq_end() degenerates to a plain wrapper around
> nvme_del_queue_end(), which the SQ deletion path already uses directly.
>
> Remove the flag, its writes, and the now redundant wrapper.
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list