diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-10-27 09:15:16 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-12-01 20:36:34 +0100 |
commit | 84115d6d80c809d65c42f9383f22c10b91a4eb1c (patch) | |
tree | 9c7b9e81636919ba33c3dc28e462477e942a13bd /kernel/watch_queue.c | |
parent | nvme-fcloop: add sysfs attribute to inject command drop (diff) | |
download | linux-84115d6d80c809d65c42f9383f22c10b91a4eb1c.tar.xz linux-84115d6d80c809d65c42f9383f22c10b91a4eb1c.zip |
nvme: simplify nvme_req_qid()
Use the request's '->mq_hctx->queue_num' directly to simplify the
nvme_req_qid() function.
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/watch_queue.c')
0 files changed, 0 insertions, 0 deletions