projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbe4ba6
)
of:of_numa: remove unused macro
author
Ba Jing
<bajing@cmss.chinamobile.com>
Tue, 8 Oct 2024 06:06:45 +0000
(14:06 +0800)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/drivers/of/of_numa.c
b/drivers/of/of_numa.c
index
2ec2088
..
230d5f6
100644
(file)
--- a/
drivers/of/of_numa.c
+++ b/
drivers/of/of_numa.c
@@
-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.