Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp429884pxv; Thu, 24 Jun 2021 11:02:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeZV443Z227k7h/7i7EnzOTCUhvNBlpSp0Xg5LAdtQfrpWCCOgfVanp3MTqmj6++tfwQwZ X-Received: by 2002:a05:6e02:12c9:: with SMTP id i9mr4439618ilm.113.1624557737626; Thu, 24 Jun 2021 11:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624557737; cv=none; d=google.com; s=arc-20160816; b=wK6EHrvk9bIJnp8nSEUZ5orLzZHTuR5D8P0M7lCIqJxSdVUjpSnV/+MOTVPjiPmQ/U Td5g3UOkP6m/y3fpOkzW5VasikA8uTsai4gtUy8Doo9KuworLfb9M24iGfkzBueyVB4q MYzxjSofXCVTxtIhXDv2K8is4aFN2Z4ro6SCep7+QQ2p9D2dcffxZTKM6063VJN1BNZO dNQlay1orh6U+3khnXGiCtUUTw+ZfRoYyimxZdwrCHJUMpnp128MUY1l/4foRM195pFg +OGIAylRCtvRhMCa837J6IUAskUGzAFeKy5nm/j/vNjnqqu30eTCZqjSk0tRuDzKfd0a AVzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=0Kxa6sZKClpIemf8Xwi+xgUNqQi000u7Br5b9L8QPXM=; b=NnvGKy1YWAsclIc/d9kGspLd7L+glh+4bq36eCghZlVFyOv1bImlIVgp5vTKck0Hin xTk8+uAMMsuN1aODJ06mAPu8kYHjjyr3g+u8hEpEDzAaVpzoqhwFg2CdhzGtlnPkyHhG jnncYNhnq0jxs34BGZdo91+gc0/MWVEdWW5hMm/Qzz2jWZincB265XjdNymwLVOltCNe aVMv6TLEjB68EvI5R4/88UbsMFGuhWlDXIKz2QhLp+yAF26LdkhaS9wmydEuRKL5TBhD 5sWjiBundvGTGjZxicTI3AdC+OO8xPwN8lobS/skALK8idAXuQFdC23nuJue931m7WOX Qfcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NIKFU7m4; 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 i26si3142355iol.73.2021.06.24.11.02.02; Thu, 24 Jun 2021 11:02:17 -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=NIKFU7m4; 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 S232348AbhFXSDa (ORCPT + 99 others); Thu, 24 Jun 2021 14:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbhFXSD3 (ORCPT ); Thu, 24 Jun 2021 14:03:29 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79B0AC061574; Thu, 24 Jun 2021 11:01:09 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id s14so4577936pfg.0; Thu, 24 Jun 2021 11:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0Kxa6sZKClpIemf8Xwi+xgUNqQi000u7Br5b9L8QPXM=; b=NIKFU7m4YSoY+VX+USS4jSFrp9E3oem1ny0oG0ECsadGqTOpmQvHYRLUC0ayLLser0 L786DqLxZEGuoTZys72tLCN0jJFMt0mJmw8yzWDpPH14F9oBMQBa9pX+I12l3Ljnbtcw INPZeGt9s+ZPtpB0aw5jkkWxRLm4VE3AGITej9qzOMHitIsFrdF46jUuk6FHtpZdWP6+ +7Y5sw/v4agoJUqgmgPlMBmsLfAM/hyYflMmuYp1KpmMEGQ44qqXF6yKsXvCdQAD8fGx bAOOyO4gkQ/Y7BX4AmhC7xw/9c8KyZuv3KmaeSsmlU0jCAS5YUZzJ0+dUhDSf3+TcN4S Chkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0Kxa6sZKClpIemf8Xwi+xgUNqQi000u7Br5b9L8QPXM=; b=PTKW1BKTqyARyq8lT0vsC4ibBqUNZSYoFlsMC3ngXJLODWuI1mGwIiiS8oY1q3Qsj1 M/QXcGcC02q2QNeAPxGfwu3QIKOcH4sKWnefIQ4Iyn/bBTwQt8IUN2Qt5XZJ1HIs9clY f1eYptg6BmDl2O9eAM97Lx6mPfJbrb0p7eZGuQhU5/EyJvht0vEECDFz2fyNeRHhSwi+ seB43youes/FRjcxVTD6naxX6hye5OUe/ymAKHhkUKRFhPfEiaJ4D5t3IAE2A3jsA3YG ts0aN9DJhwFyCX6UsqwcyLxWLvnvc1+ODMcBhBStlP4Gc7RFOZgfqc31+NqeWmKOua51 okHg== X-Gm-Message-State: AOAM533koySliuRHx9W3eyxVY49oaYsbosVPetSu4UumHDCs/qfkR0B+ WUATLWsW1bHZdG6VQJ/HAB8JCtD/7M8= X-Received: by 2002:aa7:828f:0:b029:200:6e27:8c8f with SMTP id s15-20020aa7828f0000b02902006e278c8fmr6104530pfm.44.1624557668850; Thu, 24 Jun 2021 11:01:08 -0700 (PDT) Received: from carrot.localdomain (i118-16-244-169.s42.a014.ap.plala.or.jp. [118.16.244.169]) by smtp.gmail.com with ESMTPSA id go16sm7319739pjb.42.2021.06.24.11.01.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jun 2021 11:01:07 -0700 (PDT) From: Ryusuke Konishi To: Andrew Morton Cc: linux-nilfs , LKML Subject: [PATCH] nilfs2: remove redundant continue statement in a while-loop Date: Fri, 25 Jun 2021 03:01:04 +0900 Message-Id: <1624557664-17159-1-git-send-email-konishi.ryusuke@gmail.com> X-Mailer: git-send-email 1.8.3.1 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") 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