Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3627923pxj; Mon, 21 Jun 2021 03:06:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyImz5D7QjB4nEgg6RU2IU3kELjQndzAum+MwvzSd3hUbk2lRQ/s3iiClqyI2dV228TI8zR X-Received: by 2002:a05:6e02:b43:: with SMTP id f3mr17091701ilu.22.1624269982626; Mon, 21 Jun 2021 03:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624269982; cv=none; d=google.com; s=arc-20160816; b=EtpD0EPsSaEidNIbut7s0wMNgXtzH/Ege6EO7Kbb+pr/DvqGJLiOS27XYvSL2Xboin bKCo4FoDjVYLpIKbmnksLek77Ou3dBd+Brx5lFU+3YTTW7aadWtl3Hxk+QBFBacgw+7/ xDEKYprkl6J8dcFFTXNKDuUAM84ZDU1pGyp4FY7LcYWyuOgHECHR12FLXFS6XdIIJy8o wIYNdRCWrXxtKbEDsAtIYJ+ERzBqt619QKVzrKVYT2hXK+Kjkq6Bs2Q7f7POG1zEqDlb 9U8b+S28AJ+pubOtpRx6MvHQXYYRSwsUwTcvErcEfXhHxyXvc4aJseanKaKVDYFvOPL6 4/VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HrcAnWkQxDIajmu3s//+lpQFmKXldraKsJRTrh+rGUw=; b=w3Co2E+HbUgjiZi4zoQ8uG9CTzjf0B05oXJOTVHQqscORaICZ0JQNA+ez/0tZLnUE0 2+3CrzW57usBB0Xoic6rGbhAXFEnPJQC517nyqTtySzAWKP3WFmXeb2yqdHignY10TjM A6Uj0WQkxrmnbaZcDIH4Ftm5YPHemlkvqRsfE1oL/N+3HcDxRKU/F8//PgEUx/eqyUcO rgahXOCN5Aj0ezAArchq5ko9o5pf+rYGMKjyPcIZcIRISyawyA+cYtWzgXTguChmYXjY rq2BSnDFw+9O3tWNYtBmMe5IOaX8Kb/Nbx6dTmOhi6w/JpJ1BJ2FSW0yI6LHJ0zzzBK7 /oqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h2si1322595ilh.91.2021.06.21.03.06.10; Mon, 21 Jun 2021 03:06:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230175AbhFUKHf (ORCPT + 99 others); Mon, 21 Jun 2021 06:07:35 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:41833 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbhFUKHf (ORCPT ); Mon, 21 Jun 2021 06:07:35 -0400 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lvGnw-0003r9-6e; Mon, 21 Jun 2021 10:05:20 +0000 From: Colin King To: Ryusuke Konishi , linux-nilfs@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org 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> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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