]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
nilfs2: remove redundant continue statement in a while-loop
authorColin Ian King <colin.king@canonical.com>
Thu, 1 Jul 2021 01:56:34 +0000 (18:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Jul 2021 18:06:06 +0000 (11:06 -0700)
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 <colin.king@canonical.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nilfs2/btree.c

index f42ab57201e7b6a702a08a03a8baf49ff54b1383..ab9ec073330f142a04fa9115cb0f6a1a1bbafc2f 100644 (file)
@@ -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;