From patchwork Fri May 14 12:44:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dingsenjie@163.com X-Patchwork-Id: 1478460 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=Vk3VYT3x; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=prrgY9ah; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=PR045XLD; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FhSw94x7Dz9sW7 for ; Fri, 14 May 2021 22:47:05 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=TXpC+lyOBco9HfHrdsxmvcf4fc4Ed71WjGfiRWwd2/A=; b=Vk3VYT3xFYwjSjysTGvaFM2Rt/ yhdKENP5fH7YJj3/dbkfRRJO1ca3GazVGRF7DVhqv5bVb2o/ZiOIeArK9BKujoCUDsF9lndIYZHE3 1lZyXJzqaoEOvXM5Idvax4E+JvN5iZywG6xtCPPkN/l//dsNmJODi4WkA1V3XTc2dwCRa3Lunl0eE G6jHLdNxkqkNyPqjeAok+5RcFKvr6sB033iCUAzguThlKzUvVjYadgxWP4niUGy6SAfmIlUsxKD/Y 9DvgCeZX8N0nug4hoK43EtVmms0XTryf2dM7yPQVoZO4zv47ZJ+0u4rtrlGqzwv5v33jMxm9diBZq l0LrGc5Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhXCv-00848f-Vl; Fri, 14 May 2021 12:46:22 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhXCt-00848Z-8M for linux-mtd@desiato.infradead.org; Fri, 14 May 2021 12:46:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=wj8yFuvdz6wX3h1KFrBZzeGfyq10Pzv0aY3aYB8oaU4=; b=prrgY9ahHjB8jxobY4vvKgMIQS 6sadZHCaHvxzebcfjf+s4+vLkpuq1ddDvQ66n8P2YCHCBNrwFsX2UbG7aB87OejHTi4Xe9OlGvt93 GN3/LnqixEUS6/Z6bWVn0rpnoyG9F91PygS30wiEDARuLjwmZ702kqQroQtASAyHk++MrFpDDR/J+ NS2zYoD5m+FoAkQG3r4lR7WzJeb5Pn7T6rUZegtBG+ss1RRAgisZdpK5wey+0aqfGkevSkHNvqzIx RgCuvH7AWUVCuampC3tIIaPqjYIGjGfWKvGEbhSZiUT0hf4wuF+zBZHv8OjLlNniyMDPqVgkQtL7l 3chPB29Q==; Received: from m12-17.163.com ([220.181.12.17]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhXC9-00BywX-82 for linux-mtd@lists.infradead.org; Fri, 14 May 2021 12:46:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=wj8yF uvdz6wX3h1KFrBZzeGfyq10Pzv0aY3aYB8oaU4=; b=PR045XLDgCmLFeiECnSts 1xizUIttOIka/cUesR3qyevM3s+zHcQo5rVDUER3TITC/w+OBvazG7/NOoim51py Fo1yrqn57ELYFymS0Z9WYi9JLxCh5j8dVB+ixt4R4bGWcmAYck4WpKbuKQQBv8uF r/K1L01UiczLkQ/YdRBxiw= Received: from COOL-20201222LC.ccdomain.com (unknown [218.94.48.178]) by smtp13 (Coremail) with SMTP id EcCowAB3f5_dcJ5gnMeM1A--.13288S2; Fri, 14 May 2021 20:45:18 +0800 (CST) From: dingsenjie@163.com To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Ding Senjie Subject: [PATCH v3] mtd: devices: Remove superfluous "break" Date: Fri, 14 May 2021 20:44:51 +0800 Message-Id: <20210514124451.20352-1-dingsenjie@163.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 X-CM-TRANSID: EcCowAB3f5_dcJ5gnMeM1A--.13288S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxU7f-PUUUUU X-Originating-IP: [218.94.48.178] X-CM-SenderInfo: 5glqw25hqmxvi6rwjhhfrp/xtbBRRGSyFPALxMviwAAsF X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_054615_105260_4C1D0FA5 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Ding Senjie Remove superfluous "break", as there is a "return" before it. Signed-off-by: Ding Senjie --- drivers/mtd/devices/ms02-nv.c | 1 - 1 file changed, 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [dingsenjie[at]163.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Ding Senjie Remove superfluous "break", as there is a "return" before it. Signed-off-by: Ding Senjie --- drivers/mtd/devices/ms02-nv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/devices/ms02-nv.c b/drivers/mtd/devices/ms02-nv.c index fb4a6aa..08f76ff 100644 --- a/drivers/mtd/devices/ms02-nv.c +++ b/drivers/mtd/devices/ms02-nv.c @@ -286,7 +286,6 @@ static int __init ms02nv_init(void) break; default: return -ENODEV; - break; } for (i = 0; i < ARRAY_SIZE(ms02nv_addrs); i++)