Commit b5fc1e8b authored by Hou Tao's avatar Hou Tao Committed by Jens Axboe

blk-mq: remove pointless call of list_entry_rq() in hctx_show_busy_rq()

Just use rq directly, the usage of list_entry_rq() doesn't make any
sense.
Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0b8cc25d
...@@ -401,8 +401,7 @@ static bool hctx_show_busy_rq(struct request *rq, void *data, bool reserved) ...@@ -401,8 +401,7 @@ static bool hctx_show_busy_rq(struct request *rq, void *data, bool reserved)
const struct show_busy_params *params = data; const struct show_busy_params *params = data;
if (rq->mq_hctx == params->hctx) if (rq->mq_hctx == params->hctx)
__blk_mq_debugfs_rq_show(params->m, __blk_mq_debugfs_rq_show(params->m, rq);
list_entry_rq(&rq->queuelist));
return true; return true;
} }
......
Markdown is supported
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