]> git.baikalelectronics.ru Git - kernel.git/commit
lib/cpumask: drop always-true preprocessor guard
authorSander Vanheule <sander@svanheule.net>
Tue, 9 Aug 2022 17:36:35 +0000 (19:36 +0200)
committerYury Norov <yury.norov@gmail.com>
Mon, 15 Aug 2022 18:00:44 +0000 (11:00 -0700)
commitc7f88f6ede19fb41a952ded1e96d3bd9679b1c50
tree6040819dada33686b686117e650b62971efc3d56
parentc0db0ded5d9bbaea353cbb1b0dbe625e65480c81
lib/cpumask: drop always-true preprocessor guard

Since lib/cpumask.o is only built for CONFIG_SMP=y, NR_CPUS will always
be greater than 1 at compile time.  This makes checking for that
condition unnecesarry, so it can be dropped.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
lib/cpumask.c