Commit d945a365 authored by Omar Sandoval's avatar Omar Sandoval Committed by Jens Axboe

blk-mq: use true instead of 1 for blk_mq_queue_data.last

Trivial cleanup.
Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 807b1041
...@@ -1462,7 +1462,7 @@ static void __blk_mq_try_issue_directly(struct request *rq, blk_qc_t *cookie, ...@@ -1462,7 +1462,7 @@ static void __blk_mq_try_issue_directly(struct request *rq, blk_qc_t *cookie,
struct request_queue *q = rq->q; struct request_queue *q = rq->q;
struct blk_mq_queue_data bd = { struct blk_mq_queue_data bd = {
.rq = rq, .rq = rq,
.last = 1 .last = true,
}; };
struct blk_mq_hw_ctx *hctx; struct blk_mq_hw_ctx *hctx;
blk_qc_t new_cookie; blk_qc_t new_cookie;
......
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