mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
bitmap: drop bitmap_next_set_region()
The function is a dead code. Drop it. Signed-off-by: Yury Norov <ynorov@nvidia.com>
This commit is contained in:
parent
c4f392a35c
commit
ae44a037ac
|
|
@ -697,14 +697,6 @@ void bitmap_gather(unsigned long *dst, const unsigned long *src,
|
|||
__assign_bit(n++, dst, test_bit(bit, src));
|
||||
}
|
||||
|
||||
static __always_inline
|
||||
void bitmap_next_set_region(unsigned long *bitmap, unsigned int *rs,
|
||||
unsigned int *re, unsigned int end)
|
||||
{
|
||||
*rs = find_next_bit(bitmap, end, *rs);
|
||||
*re = find_next_zero_bit(bitmap, end, *rs + 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* bitmap_release_region - release allocated bitmap region
|
||||
* @bitmap: array of unsigned longs corresponding to the bitmap
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user