commit | ddbfc34fcf5d0bc33b006b90c580c56edeb31068 | [log] [tgz] |
---|---|---|
author | Liu Song <liusong@linux.alibaba.com> | Fri Aug 26 11:14:13 2022 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Aug 26 07:32:53 2022 -0600 |
tree | 517dcae1f8faf3dcf83e14c2183a9bc4fec55433 | |
parent | f2cc648e12285c53365c2bcacbcd919022f4d3a8 [diff] |
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>