]> git.baikalelectronics.ru Git - kernel.git/commitdiff
blk-mq: use true instead of 1 for blk_mq_queue_data.last
authorOmar Sandoval <osandov@fb.com>
Wed, 5 Apr 2017 19:01:36 +0000 (12:01 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 7 Apr 2017 18:45:45 +0000 (12:45 -0600)
Trivial cleanup.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c

index b53ffcff2cec21394df176024c6a7cfeb5ad1db3..9bdfeed59d9d236ce8c82ca95db95cb190258528 100644 (file)
@@ -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 blk_mq_queue_data bd = {
                .rq = rq,
-               .last = 1
+               .last = true,
        };
        struct blk_mq_hw_ctx *hctx;
        blk_qc_t new_cookie;