mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	mm: compaction: remove unneeded pfn update
pfn is unused in this do while loop. Remove the unneeded pfn update. Link: https://lkml.kernel.org/r/20220418141253.24298-3-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Charan Teja Kalla <charante@codeaurora.org> Cc: David Hildenbrand <david@redhat.com> Cc: Pintu Kumar <pintu@codeaurora.org> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									024c61eaff
								
							
						
					
					
						commit
						02d04a5163
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -317,7 +317,6 @@ __reset_isolation_pfn(struct zone *zone, unsigned long pfn, bool check_source,
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		page += (1 << PAGE_ALLOC_COSTLY_ORDER);
 | 
							page += (1 << PAGE_ALLOC_COSTLY_ORDER);
 | 
				
			||||||
		pfn += (1 << PAGE_ALLOC_COSTLY_ORDER);
 | 
					 | 
				
			||||||
	} while (page <= end_page);
 | 
						} while (page <= end_page);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return false;
 | 
						return false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue