From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin King Subject: [PATCH] nilfs2: remove redundant continue statement in a while-loop Date: Mon, 21 Jun 2021 11:05:19 +0100 Message-ID: <20210621100519.10257-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: List-ID: Content-Type: text/plain; charset="us-ascii" To: Ryusuke Konishi , linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org From: Colin Ian King The continue statement at the end of the while-loop is redundant, remove it. Addresses-Coverity: ("Continue has no effect") Signed-off-by: Colin Ian King --- fs/nilfs2/btree.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c index f42ab57201e7..ab9ec073330f 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; -- 2.31.1