mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
bitmap: drop __find_nth_andnot_bit()
Remove find_nth_andnot_bit() leftovers.
CC: Rasmus Villemoes <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Shaopeng Tan <[email protected]>
Fixes: b0c85e9945 ("cpumask: Remove unnecessary cpumask_nth_andnot()")
Signed-off-by: Yury Norov <[email protected]>
This commit is contained in:
@@ -22,8 +22,6 @@ extern unsigned long _find_first_bit(const unsigned long *addr, unsigned long si
|
||||
unsigned long __find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n);
|
||||
unsigned long __find_nth_and_bit(const unsigned long *addr1, const unsigned long *addr2,
|
||||
unsigned long size, unsigned long n);
|
||||
unsigned long __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2,
|
||||
unsigned long size, unsigned long n);
|
||||
unsigned long __find_nth_and_andnot_bit(const unsigned long *addr1, const unsigned long *addr2,
|
||||
const unsigned long *addr3, unsigned long size,
|
||||
unsigned long n);
|
||||
|
||||
@@ -172,13 +172,6 @@ unsigned long __find_nth_and_bit(const unsigned long *addr1, const unsigned long
|
||||
}
|
||||
EXPORT_SYMBOL(__find_nth_and_bit);
|
||||
|
||||
unsigned long __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2,
|
||||
unsigned long size, unsigned long n)
|
||||
{
|
||||
return FIND_NTH_BIT(addr1[idx] & ~addr2[idx], size, n);
|
||||
}
|
||||
EXPORT_SYMBOL(__find_nth_andnot_bit);
|
||||
|
||||
unsigned long __find_nth_and_andnot_bit(const unsigned long *addr1,
|
||||
const unsigned long *addr2,
|
||||
const unsigned long *addr3,
|
||||
|
||||
Reference in New Issue
Block a user