Re: [PATCH] mm/compaction: Remove some useless code in compact_zone()

2020-10-19 Thread Xu, Yanfei
On 10/16/20 11:05 PM, Vlastimil Babka wrote: On 10/14/20 2:28 PM, David Hildenbrand wrote: On 14.10.20 09:23, yanfei...@windriver.com wrote: From: Yanfei Xu start_pfn has been declared at the begin of compact_zone(), it's no need to declare it again. And remove an useless semicolon. Signe

Re: [PATCH] mm/compaction: Remove some useless code in compact_zone()

2020-10-16 Thread Vlastimil Babka
On 10/14/20 2:28 PM, David Hildenbrand wrote: On 14.10.20 09:23, yanfei...@windriver.com wrote: From: Yanfei Xu start_pfn has been declared at the begin of compact_zone(), it's no need to declare it again. And remove an useless semicolon. Signed-off-by: Yanfei Xu --- mm/compaction.c | 3 +--

Re: [PATCH] mm/compaction: Remove some useless code in compact_zone()

2020-10-14 Thread David Hildenbrand
On 14.10.20 09:23, yanfei...@windriver.com wrote: > From: Yanfei Xu > > start_pfn has been declared at the begin of compact_zone(), it's > no need to declare it again. And remove an useless semicolon. > > Signed-off-by: Yanfei Xu > --- > mm/compaction.c | 3 +-- > 1 file changed, 1 insertion(+

[PATCH] mm/compaction: Remove some useless code in compact_zone()

2020-10-14 Thread yanfei . xu
From: Yanfei Xu start_pfn has been declared at the begin of compact_zone(), it's no need to declare it again. And remove an useless semicolon. Signed-off-by: Yanfei Xu --- mm/compaction.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/compaction.c b/mm/compaction.c in