Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1239932pxj; Fri, 18 Jun 2021 02:46:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8RWXiDPY92aP77y4jFubSPLUQ4wpwITOJixoKQFo+asun6dozjZlEhyJpO0fLih1KPiQ2 X-Received: by 2002:a05:6402:144d:: with SMTP id d13mr3643158edx.288.1624009563598; Fri, 18 Jun 2021 02:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624009563; cv=none; d=google.com; s=arc-20160816; b=HCREcLiYvjRowaRsD2Z/m9vmc1UbSnnYJ+rM5dTZ1YhZ5LMO/Ev/wtPTn/R23O3Xwp NL48mm9aXDAm5UwYYOKScRcVSOdFA5kWgC0aU1QKILMn2NLfHCMIJTlZbdqPNekoD5R7 3M/UosmL1dgJ98EqrAw6k4k0sGVpbZTx9zrXJPCxrimb5pmNUzZZYN844WCbk+FMjiK9 ZpHXr9q9T8njvy2fgoxNQOHjPU/E79Q1DnQfiRmIHT9PDuD7aG99eFNbXgJqFUITRZfy fMfTRQsTaj1bZscTvYYdLffp8Mz/qsc2lRuSXlIuD6m80vAubyGofQ6UZt3v2qL64fBx hbnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=BjckcDOMY6ny4V2/ZL/9WmTbYDu5KRR7Z/WfGf4tNs8=; b=r8D9SbA5zavgGOSv8QnykJWlPW5wUJzvf5o/6QSquaSGqRKI2ILnyRldMt3su7Vqn+ rTO1lrbFntuxIyZzMU+k9bfBTlpTIUucjxZr9nWlRvFQj+plr8zrBaXf1moNVaeqZPhz cKdJ02HZ6852TSMBOS3H8jeGgmvq4PaXyaSZttZWtOdzqNtPNTpeH3zKhAXKXA064VPF 9lrVIFeYFMten4KsBIAeTGOo2ZL+qHma6/YCE9nQazxe/Hri/+Lswi124sM7mPdskz4t duSrQ1EHf9kB4ymydpBuddhMbIcWWqj1FWAkTJ4KI5YlcblH9PrLqddoe3kmtD3zU2o2 YGxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Qh6pFvpH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si2081662ejk.196.2021.06.18.02.45.40; Fri, 18 Jun 2021 02:46:03 -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=@walle.cc header.s=mail2016061301 header.b=Qh6pFvpH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232409AbhFRJmW (ORCPT + 99 others); Fri, 18 Jun 2021 05:42:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232176AbhFRJmV (ORCPT ); Fri, 18 Jun 2021 05:42:21 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50947C061574; Fri, 18 Jun 2021 02:40:12 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 50AAB22239; Fri, 18 Jun 2021 11:40:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1624009207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BjckcDOMY6ny4V2/ZL/9WmTbYDu5KRR7Z/WfGf4tNs8=; b=Qh6pFvpHLi1cg1EvHgs3SyWCmNuIS1mbrMjc09p/kCZrrSj0M4OIrqk8DkrEHQQACU0xsN tWDXENHlqTYhMbvVjyOe+WegaFKRtOg6gdJ1syJc4LvbuZ1PRok6C7zYfgX4erat+FSMVX xQjqC/uWYb5jnJPYE9DV8ozdASCk9Qw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Jun 2021 11:40:06 +0200 From: Michael Walle To: Colin King Cc: Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: spi-nor: remove redundant continue statement In-Reply-To: <20210618093331.100006-1-colin.king@canonical.com> References: <20210618093331.100006-1-colin.king@canonical.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <59bfda9fc1040ecd1be3f57aa436cce6@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-06-18 11:33, schrieb Colin King: > From: Colin Ian King > > The continue statement at the end of a for-loop has no effect, > invert the if expression and remove the continue. > > Addresses-Coverity: ("Continue has no effect") > Signed-off-by: Colin Ian King Reviewed-by: Michael Walle -michael