Skip to content

Commit d945a36

Browse files
osandovaxboe
authored andcommitted
blk-mq: use true instead of 1 for blk_mq_queue_data.last
Trivial cleanup. Signed-off-by: Omar Sandoval <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 807b104 commit d945a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/blk-mq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ static void __blk_mq_try_issue_directly(struct request *rq, blk_qc_t *cookie,
14621462
struct request_queue *q = rq->q;
14631463
struct blk_mq_queue_data bd = {
14641464
.rq = rq,
1465-
.last = 1
1465+
.last = true,
14661466
};
14671467
struct blk_mq_hw_ctx *hctx;
14681468
blk_qc_t new_cookie;

0 commit comments

Comments
 (0)