nilfs2: remove redundant continue statement in a while-loop
Ryusuke Konishi
maintainerPATCH 1/1 nilfs2: remove redundant continue statement in a while-loop
From: Colin Ian King <[email protected]>
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-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org open here
Signed-off-by Colin Ian King <[email protected]>
Signed-off-by Ryusuke Konishi <[email protected]>
--- fs/nilfs2/btree.c | 1 - 1 file changed, 1 deletion(-)
fs/nilfs2/btree.c +0 -1
@@ -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 ;
Signature · 1 line
1.8.3.1
Ryusuke Konishi
maintainerHi Andrew,
Please queue this for the next merge window.
Thank you,
Ryusuke Konishi
Quoted 29 lines · Ryusuke Konishi
From: Colin Ian King <[email protected]>
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-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org open hereSigned-off-by Colin Ian King <[email protected]>Signed-off-by Ryusuke Konishi <[email protected]>--- fs/nilfs2/btree.c | 1 - 1 file changed, 1 deletion(-)fs/nilfs2/btree.c +0
-2@@ -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 ; --1.8.3.1