mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
mm/compaction: remove unnecessary "else continue" at end of loop in isolate_freepages_block
There is no behavior change to remove "else continue" code at end of scan loop. Just remove it to make code cleaner. Link: https://lkml.kernel.org/r/20230803094901.2915942-5-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: David Hildenbrand <david@redhat.com> Cc: Kemeng Shi <shikemeng@huawei.com> Cc: Mel Gorman <mgorman@techsingularity.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
dc13292ccc
commit
13cfd63f3f
@ -671,8 +671,6 @@ static unsigned long isolate_freepages_block(struct compact_control *cc,
|
||||
isolate_fail:
|
||||
if (strict)
|
||||
break;
|
||||
else
|
||||
continue;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user