diff options
author | 2022-08-26 11:14:13 +0800 | |
---|---|---|
committer | 2022-08-26 07:32:53 -0600 | |
commit | ddbfc34fcf5d0bc33b006b90c580c56edeb31068 (patch) | |
tree | 517dcae1f8faf3dcf83e14c2183a9bc4fec55433 /block/blk-mq-tag.c | |
parent | block/rnbd-clt: Remove the unneeded result variable (diff) | |
download | linux-ddbfc34fcf5d0bc33b006b90c580c56edeb31068.tar.gz linux-ddbfc34fcf5d0bc33b006b90c580c56edeb31068.tar.bz2 linux-ddbfc34fcf5d0bc33b006b90c580c56edeb31068.zip |
sbitmap: remove unnecessary code in __sbitmap_queue_get_batch
If "nr + nr_tags <= map_depth", then the value of nr_tags will not be
greater than map_depth, so no additional comparison is required.
Signed-off-by: Liu Song <liusong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1661483653-27326-1-git-send-email-liusong@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions