diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-28 12:08:34 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-28 12:08:34 -0600 |
commit | 02f7eab0095a47b45f48a4321d33de3569c59061 (patch) | |
tree | a482434eb91daec509d893937b89b982fbd2ba90 /block/blk-rq-qos.c | |
parent | 57a13a5b8157d9a8606490aaa1b805bafe6c37e1 (diff) | |
download | linux-02f7eab0095a47b45f48a4321d33de3569c59061.tar.gz |
block: improve readability of blk_mq_end_request_batch()
It's faster and easier to read if we tolerate cur_hctx being NULL in
the "when to flush" condition. Rename last_hctx to cur_hctx while at it,
as it better describes the role of that variable.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-rq-qos.c')
0 files changed, 0 insertions, 0 deletions