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

of:of_numa: remove unused macro

By reading the code, I found the marco DEFAULT_NODE is never
referenced in the code. Just remove it.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20241008060645.36071-1-bajing@cmss.chinamobile.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Ba Jing and committed by
Rob Herring (Arm)
29bf3116 fbe4ba6c

-3
-3
drivers/of/of_numa.c
··· 14 14 15 15 #include <asm/numa.h> 16 16 17 - /* define default numa node to 0 */ 18 - #define DEFAULT_NODE 0 19 - 20 17 /* 21 18 * Even though we connect cpus to numa domains later in SMP 22 19 * init, we need to know the node ids now for all cpus.