]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpumask: Remove unnecessary cpumask_nth_andnot()
authorShaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Mon, 23 Jun 2025 07:46:45 +0000 (16:46 +0900)
committerYury Norov <yury.norov@gmail.com>
Thu, 31 Jul 2025 15:28:03 +0000 (11:28 -0400)
commitb0c85e99458af829c32c225b43f638443bff14e5
tree932cf3ef627000bec1b27288db081f5762e7790b
parentf49a4af3fabce56aaef125f0d959b81afe194afb
cpumask: Remove unnecessary cpumask_nth_andnot()

Commit 94f753143028("x86/resctrl: Optimize cpumask_any_housekeeping()")
switched the only user of cpumask_nth_andnot() to other cpumask
functions, but left the function cpumask_nth_andnot() unused.
This makes function find_nth_andnot_bit() unused as well. Delete them.

Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
include/linux/cpumask.h
include/linux/find.h