From: Colin Ian King Date: Thu, 1 Jul 2021 01:56:34 +0000 (-0700) Subject: nilfs2: remove redundant continue statement in a while-loop X-Git-Tag: v5.15~831^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4048e5aa148b13da84132cc23b6503b626e2576;p=platform%2Fkernel%2Flinux-starfive.git nilfs2: remove redundant continue statement in a while-loop The continue statement at the end of the while-loop is redundant, remove it. Addresses-Coverity: ("Continue has no effect") Link: https://lkml.kernel.org/r/20210621100519.10257-1-colin.king@canonical.com Link: https://lkml.kernel.org/r/1624557664-17159-1-git-send-email-konishi.ryusuke@gmail.com Signed-off-by: Colin Ian King Signed-off-by: Ryusuke Konishi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c index f42ab57..ab9ec07 100644 --- a/fs/nilfs2/btree.c +++ b/fs/nilfs2/btree.c @@ -738,7 +738,6 @@ static int nilfs_btree_lookup_contig(const struct nilfs_bmap *btree, if (ptr2 != ptr + cnt || ++cnt == maxblocks) goto end; index++; - continue; } if (level == maxlevel) break;