Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp432626pxv; Thu, 24 Jun 2021 11:05:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZQ3pTTum2rAAc5nSfFU/CkwZhdJ4kCiLfU72BdedbGmKoyvbtp9oRL+gpui77xsX2e1JX X-Received: by 2002:a02:9f8a:: with SMTP id a10mr5862832jam.136.1624557902817; Thu, 24 Jun 2021 11:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624557902; cv=none; d=google.com; s=arc-20160816; b=jodk+V8DDBFx17qkFIcpdGdU0OdMtHO6n9XEiDPZV8nWg0NiQsHJIQfSM6Lcfpctnd +LA6XhZO2WycG2GKKd2/EwPDvuBRj5/sxhzLeI+H5lrhB7plAdHTO8lRin2SMmOYeNbP Y+hmZh3yb28G6bd0R4ptICbD1akj3HGRjNkKhsBL/GR7qkyL0ygyasp7ZoZuI1dD2xwd XJ8TrBzOb3B2rzJSx4H1aJmaJBcd5Lw0iBALCKJZ+H+edLLfDG5fzZNrHhBdSFIebcH5 aMGAl/9YINI09Tw0Jqnjyssg4GMev88PLQydlKDHsJnM0TiGV1ykbhfN799mmi1dpCOh LC5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RwwTqy9WZmZQciKQh7A9H8bIJRJaZla64xhE8H4bFtQ=; b=J4nSi1IMxrPry9zD574rYL4WsGadG+sSQFUj04XFRZOivVGDDF8smz5YzNJ5TwQvLO GkcqPF2E9nYMdaGvx6gjKW7xb612T5Nx5jvtwJ2p5aRpAJzFe9/foMZnSWthGIL5mLWP zUqs2CqqQylpzukswJArRIlkPOL2yjJ/11PobF+8O+mCc++jbm3MhX6dhioPef0nSVVs 8CcbE/siFVXug0AbjJPRtVScOFpvfYnyQpkQnlT+mh5prbCUh/TCXVofoc4AFK8BmUah xoRJDc4JHx0W8edwVK2iIJZ489ppDw7WfAoRbwfMvtonit0iC/wQRCWd+0Dd3Mpa3C+R +RGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=baLYbSHd; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 10si3451343ilj.9.2021.06.24.11.04.49; Thu, 24 Jun 2021 11:05:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=baLYbSHd; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232192AbhFXSGb (ORCPT + 99 others); Thu, 24 Jun 2021 14:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231488AbhFXSGb (ORCPT ); Thu, 24 Jun 2021 14:06:31 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1184C061574; Thu, 24 Jun 2021 11:04:10 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id h17so9786430edw.11; Thu, 24 Jun 2021 11:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RwwTqy9WZmZQciKQh7A9H8bIJRJaZla64xhE8H4bFtQ=; b=baLYbSHdhLQ7dT6qyUtsUpHdvn3BMEqkmTKpRgcqyPPAvGdIgdR7x6HIEpR31P3jvQ WlecXxHrM0+wCrStLNePaxFjpF1JrdpHBg7eD2CSvZfSSWqMBHq2TX5MJ09yWuktpct1 PITc65ekmSOg/nMRITmztBbJWeVyTAQCHX18frKKiTle2tXFMNjba370ZtMserCVSZv1 RlbNxkh5o8SgNUC8xm6RkJDjePFh+QV8JDWFHm2RWvf/O9m/eFwkaw5wbompvxF8nCuw cImq6zIptgTzQa8xC1YyMaOQz1h8l3qcVYaK3/27zLLFnjEjeptcrtY0vw2yMv5jQBhK tbWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RwwTqy9WZmZQciKQh7A9H8bIJRJaZla64xhE8H4bFtQ=; b=p08jt0IjjsrRpGTJjN7QEQu/GCAYLmIK623yMO+wWSc3fqHfgwaN5I4UfnjOy4l6dx oRfKUEOjWltFarVlxs25vPOUsvWjj3w0v/KeH3tY6Sa+I2NjD27FR7cmRMH6erpx31rH SdcEaf4oCt5gH3Lg76YP17sgunPPR0lk4N+SCJQjRBY432o+WAYtPvcb0bHtU9leWFXw 20LX8KlH5AqvcRboqIeCJ6QN3BLCbBsoIHMQsmhWsMp6NWI7J5nXw2jy3dFt5fRFjYqj IBCfboXTns2PQHO45PV2S+3MzyX6qMa7cQPdkliZA1mAQVJ1L181KEDx70ydD7h79pep vL0A== X-Gm-Message-State: AOAM530xyJmKmp8Ne6E4ZqjcOH7h+RqCuvV7EXme+/hELDt2lttOuNK6 2hhqgrI2lScR2l8Fy1Jy1A0D9QMKZnearuzd+fk= X-Received: by 2002:aa7:cb9a:: with SMTP id r26mr9176812edt.78.1624557849161; Thu, 24 Jun 2021 11:04:09 -0700 (PDT) MIME-Version: 1.0 References: <1624557664-17159-1-git-send-email-konishi.ryusuke@gmail.com> In-Reply-To: <1624557664-17159-1-git-send-email-konishi.ryusuke@gmail.com> From: Ryusuke Konishi Date: Fri, 25 Jun 2021 03:03:56 +0900 Message-ID: Subject: Re: [PATCH] nilfs2: remove redundant continue statement in a while-loop To: Andrew Morton Cc: linux-nilfs , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, Please queue this for the next merge window. Thank you, Ryusuke Konishi On Fri, Jun 25, 2021 at 3:01 AM Ryusuke Konishi wrote: > > From: Colin Ian King > > 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 > Signed-off-by: Colin Ian King > Signed-off-by: Ryusuke Konishi > --- > 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; > -- > 1.8.3.1 >