lib/find: optimize find_*_bit_wrap
When an offset is 0, there's no need to search a bitmap from the
beginning after the 1st search failed, because each bit has already
been tested.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Showing
Please register or sign in to comment