projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ce751
)
nilfs2: remove redundant continue statement in a while-loop
author
Colin Ian King
<colin.king@canonical.com>
Thu, 1 Jul 2021 01:56:34 +0000
(18:56 -0700)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/fs/nilfs2/btree.c
b/fs/nilfs2/btree.c
index f42ab57201e7b6a702a08a03a8baf49ff54b1383..ab9ec073330f142a04fa9115cb0f6a1a1bbafc2f 100644
(file)
--- 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;