Skip to content
Commit 84115d6d authored by Baolin Wang's avatar Baolin Wang Committed by Christoph Hellwig
Browse files

nvme: simplify nvme_req_qid()



Use the request's '->mq_hctx->queue_num' directly to simplify the
nvme_req_qid() function.

Signed-off-by: default avatarBaolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 03d99e5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment