From: Kemeng Shi Date: Thu, 3 Aug 2023 09:49:01 +0000 (+0800) Subject: mm/compaction: remove unnecessary "else continue" at end of loop in isolate_freepages... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=13cfd63f3fec403ca8966079972aac4565fcf379;p=linux.git 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 Reviewed-by: Baolin Wang Cc: David Hildenbrand Cc: Kemeng Shi Cc: Mel Gorman Signed-off-by: Andrew Morton --- diff --git a/mm/compaction.c b/mm/compaction.c index 82fd543b410e1..dc16efd5fac56 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -671,8 +671,6 @@ static unsigned long isolate_freepages_block(struct compact_control *cc, isolate_fail: if (strict) break; - else - continue; }