[PATCH v2 5/9] arch_numa: remove redundant numa_nodes_parsed node_set()
From: Sang-Heon Jeon
Date: Fri Jul 03 2026 - 00:24:40 EST
numa_add_memblk() now sets the node in numa_nodes_parsed itself, so the
caller's own node_set() is redundant. Remove it.
No functional change.
Signed-off-by: Sang-Heon Jeon <ekffu200098@xxxxxxxxx>
---
drivers/base/arch_numa.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/base/arch_numa.c b/drivers/base/arch_numa.c
index 442ea239bba7..c7f63c4cf367 100644
--- a/drivers/base/arch_numa.c
+++ b/drivers/base/arch_numa.c
@@ -279,7 +279,6 @@ static int __init dummy_numa_init(void)
pr_err("NUMA init failed\n");
return ret;
}
- node_set(0, numa_nodes_parsed);
numa_off = true;
return 0;
--
2.43.0