summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSang-Heon Jeon <ekffu200098@gmail.com>2026-07-03 13:13:28 +0900
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-07-03 11:16:27 +0300
commitf5a77a50a14dffb659ee8f550c824f8280e37fce (patch)
tree3026eace36fb2e83c92bf2788099fcb08b93ee3d
parenta9bafc1832d2db97813069823821ed333b8ecda6 (diff)
downloadlinux-f5a77a50a14dffb659ee8f550c824f8280e37fce.tar.gz
linux-f5a77a50a14dffb659ee8f550c824f8280e37fce.zip
arch_numa: remove redundant node_possible_map assignment
numa_register_meminfo() sets node_possible_map to numa_nodes_parsed. The later assignment in numa_register_nodes() is therefore redundant, so remove it. No functional change. Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com> Link: https://patch.msgid.link/20260703041329.2797584-9-ekffu200098@gmail.com Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
-rw-r--r--drivers/base/arch_numa.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/arch_numa.c b/drivers/base/arch_numa.c
index 19bc806313c4..d4e426aa51c5 100644
--- a/drivers/base/arch_numa.c
+++ b/drivers/base/arch_numa.c
@@ -221,9 +221,6 @@ static int __init numa_register_nodes(void)
node_set_online(nid);
}
- /* Setup online nodes to actual nodes*/
- node_possible_map = numa_nodes_parsed;
-
return 0;
}