diff mbox series

[1/2] MIPS: Remove unused memblock_set_node

Message ID 1606985867-9791-2-git-send-email-hejinyang@loongson.cn (mailing list archive)
State New
Headers show
Series memory node | expand

Commit Message

Jinyang He Dec. 3, 2020, 8:57 a.m. UTC
Seting node for platforms which not need multiple nodes make no sence
after we abandoning DISCONTIGMEM.

Signed-off-by: Jinyang He <hejinyang@loongson.cn>
---
 arch/mips/kernel/setup.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index ca579de..b3a711e 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -639,9 +639,6 @@  static void __init arch_mem_init(char **cmdline_p)
 	early_init_fdt_reserve_self();
 	early_init_fdt_scan_reserved_mem();
 
-#ifndef CONFIG_NUMA
-	memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0);
-#endif
 	bootmem_init();
 
 	/*