node_page_list is defined with LIST_HEAD and be cleaned until list_empty. So it is not necessary to re-init it again. Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> --- mm/vmscan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 0b7cc9309e70..9b5ce5778e9b 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2539,7 +2539,6 @@ unsigned long reclaim_pages(struct list_head *page_list) page = lru_to_page(page_list); if (nid == NUMA_NO_NODE) { nid = page_to_nid(page); - INIT_LIST_HEAD(&node_page_list); } if (nid == page_to_nid(page)) { -- 2.33.1