[PATCH] mm/mm_init.c: remove redundant pr_info when node is memoryless

From: Yajun Deng
Date: Wed Sep 06 2023 - 05:11:35 EST


There is a similar pr_info in free_area_init_node(), so remove the
redundant pr_info.

Signed-off-by: Yajun Deng <yajun.deng@xxxxxxxxx>
---
mm/mm_init.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/mm/mm_init.c b/mm/mm_init.c
index 50f2f34745af..6be6f50813b1 100644
--- a/mm/mm_init.c
+++ b/mm/mm_init.c
@@ -1871,8 +1871,6 @@ void __init free_area_init(unsigned long *max_zone_pfn)
pg_data_t *pgdat;

if (!node_online(nid)) {
- pr_info("Initializing node %d as memoryless\n", nid);
-
/* Allocator not initialized yet */
pgdat = arch_alloc_nodedata(nid);
if (!pgdat)
--
2.25.1