diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-08-03 17:49:01 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 13:37:39 -0700 |
commit | 13cfd63f3fec403ca8966079972aac4565fcf379 (patch) | |
tree | eb2074513733bcb137bc66b08182560727da8aae | |
parent | dc13292cccfd50916af00a471208fb48deb4d72f (diff) |
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>
-rw-r--r-- | mm/compaction.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/compaction.c b/mm/compaction.c index 82fd543b410e..dc16efd5fac5 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; } |