Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bitmap: drop __find_nth_andnot_bit()

Remove find_nth_andnot_bit() leftovers.

CC: Rasmus Villemoes <linux@rasmusvillemoes.dk>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Fixes: b0c85e99458a ("cpumask: Remove unnecessary cpumask_nth_andnot()")
Signed-off-by: Yury Norov <ynorov@nvidia.com>

-9
-2
include/linux/find.h
··· 22 22 unsigned long __find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n); 23 23 unsigned long __find_nth_and_bit(const unsigned long *addr1, const unsigned long *addr2, 24 24 unsigned long size, unsigned long n); 25 - unsigned long __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, 26 - unsigned long size, unsigned long n); 27 25 unsigned long __find_nth_and_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, 28 26 const unsigned long *addr3, unsigned long size, 29 27 unsigned long n);
-7
lib/find_bit.c
··· 172 172 } 173 173 EXPORT_SYMBOL(__find_nth_and_bit); 174 174 175 - unsigned long __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, 176 - unsigned long size, unsigned long n) 177 - { 178 - return FIND_NTH_BIT(addr1[idx] & ~addr2[idx], size, n); 179 - } 180 - EXPORT_SYMBOL(__find_nth_andnot_bit); 181 - 182 175 unsigned long __find_nth_and_andnot_bit(const unsigned long *addr1, 183 176 const unsigned long *addr2, 184 177 const unsigned long *addr3,