]> git.ipfire.org Git - thirdparty/linux.git/commit
cpumask: drop cpumask_assign_cpu()
authorYury Norov <yury.norov@gmail.com>
Thu, 13 Mar 2025 02:19:52 +0000 (22:19 -0400)
committerYury Norov <yury.norov@gmail.com>
Tue, 29 Apr 2025 19:58:38 +0000 (15:58 -0400)
commit791a9b25ce2e6ecbe404ee32eed8a96a17e52896
tree7ddd7915e152979bbca858fde1c1dddf3d1bd5f1
parente5bf9a4b68fae70e41d1410656490d8ac00c02fe
cpumask: drop cpumask_assign_cpu()

Commit decde1fa209323c7 ("cpumask: Add assign cpu") was merged bypassing
cpumasks reviewers. It adds atomic and non-atomic cpumask_assign_cpu()
helpers.

In the same merge window, commit 5c563ee90a22d3 ("cpumask: introduce
assign_cpu() macro") added the same functionality. So now we have it
duplicated.

__cpumask_assign_cpu() has never been used since introducing, and because
this series reworks the only user of cpumask_assign_cpu(), both functions
become a dead code.

Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
include/linux/cpumask.h