diff options
| author | John Garry <john.garry@huawei.com> | 2021-10-05 18:23:29 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:02 -0600 |
| commit | f6adcef5f317c78a899ca9766e90e47026834158 (patch) | |
| tree | 95c604236291598a242dceb184fffe7377f2a6e7 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 8fa044640f128c0cd015f72cda42989a664889fc (diff) | |
| download | linux-f6adcef5f317c78a899ca9766e90e47026834158.tar.gz linux-f6adcef5f317c78a899ca9766e90e47026834158.zip | |
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
