of:of_numa: remove unused macro
authorBa Jing <bajing@cmss.chinamobile.com>
Tue, 8 Oct 2024 06:06:45 +0000 (14:06 +0800)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 8 Oct 2024 14:47:30 +0000 (09:47 -0500)
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>
drivers/of/of_numa.c

index 2ec2088..230d5f6 100644 (file)
@@ -14,9 +14,6 @@
 
 #include <asm/numa.h>
 
-/* define default numa node to 0 */
-#define DEFAULT_NODE 0
-
 /*
  * Even though we connect cpus to numa domains later in SMP
  * init, we need to know the node ids now for all cpus.