summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-10-05 18:23:29 +0800
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:02 -0600
commitf6adcef5f317c78a899ca9766e90e47026834158 (patch)
tree95c604236291598a242dceb184fffe7377f2a6e7 /block/blk-mq-sched.c
parent8fa044640f128c0cd015f72cda42989a664889fc (diff)
blk-mq: Invert check in blk_mq_update_nr_requests()
It's easier to read: if (x) X; else Y; over: if (!x) Y; else X; No functional change intended. Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/1633429419-228500-5-git-send-email-john.garry@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions