Skip to content
Commit ddbfc34f authored by Liu Song's avatar Liu Song Committed by Jens Axboe
Browse files

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: default avatarLiu Song <liusong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1661483653-27326-1-git-send-email-liusong@linux.alibaba.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f2cc648e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment