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

From: David Hildenbrand
Date: Mon Sep 11 2023 - 03:53:01 EST


On 06.09.23 11:11, Yajun Deng wrote:
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)


Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb