Message ID | d5679f55-fbed-5987-9daf-a8acb5be797f@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6A9776071C for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Dec 2016 17:04:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 413AE28387 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Dec 2016 17:04:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3448B28399; Sat, 3 Dec 2016 17:04:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C478628387 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Dec 2016 17:04:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cDDiN-0003uN-A2; Sat, 03 Dec 2016 17:03:07 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cDDiH-0003jm-Jc for linux-arm-kernel@lists.infradead.org; Sat, 03 Dec 2016 17:03:02 +0000 Received: from [192.168.1.2] ([77.182.219.73]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M1X0v-1cX50L2zrF-00tVGR; Sat, 03 Dec 2016 18:02:33 +0100 Subject: [PATCH 2/2] ARM: mmp: Delete an unnecessary variable initialisation in sram_probe() To: linux-arm-kernel@lists.infradead.org, Eric Miao <eric.y.miao@gmail.com>, Haojian Zhuang <haojian.zhuang@gmail.com>, Leo Yan <leoy@marvell.com>, Russell King <linux@armlinux.org.uk> References: <b687577b-e664-6aa1-a85c-438e96216171@users.sourceforge.net> From: SF Markus Elfring <elfring@users.sourceforge.net> Message-ID: <d5679f55-fbed-5987-9daf-a8acb5be797f@users.sourceforge.net> Date: Sat, 3 Dec 2016 18:02:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <b687577b-e664-6aa1-a85c-438e96216171@users.sourceforge.net> X-Provags-ID: V03:K0:FXhzs0NBSArutl+l/5xdjTK2/nH5Oe8hdoWiAqSKQotbshVSmJ3 qquE+yLca+21SgOzFWtU8m4CbCTqqKxscgvelq6oMLP23z4wHTZ1nzPCdYlPCIBTJayGzQK xDp81OxLm7PzyTt9xwGvZzAZvwXPhxr7/FSAM7mZckSigw4FbO3tn6NhQYzgSgMWmUziF/Q rHhCBjNIobNpbdG44ROaQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:xX1xFzFhbPg=:VbErsBbkWABaYdOR8Fxv80 u7eP3i2JYmUw42v6VT2y44MNL2acI71YNHhsVUGCgW05FlAajJYTXfdbCE9N2Orh9WDqduhgQ cHNpXMmXufOdbVn4Jqm4FIYiWzzsItdxckOaA5jQwh37+tnheFOonXZq+ZvNt11mJX7d9Q39Q 7qAhU8wOQwGjdvNc2ueo1XCIUSfE9FOT6Ml6Q/G1hVtVvtiz+b+/IczNFvcp+QI5BDuaR1EKt fyCULbULMB6jO/OarfXCVl+39kKdvs7kdUaWjvP2z8bc+sBnBrHE1iTzX3OjhDZpDYkZCw/zx 9PIY0zNf6YYbz3YZvzr0x7YAeaE+ITOqP2CD0CrkaQOcoKvsMxxTnI/O6TXJCXpOurlADuaoT a1GuhVCSTS8Z0/MhlQrnYSb8P9K42bASnc0vTU8RNgUdudrBMkGh5J/IrUEqC0EbQqVBm0TVP sVKqyJwBV7hdMOB+YNnfd1Be3+e4TL9qSUlmYjepFnZfM4UWRXkKA2VZEUmqvCZltpUeC7dCD l4Rr8H/j/rFRL/BJ7IchKT1EXS2M/Qu7S+SwSsA3N4oEIO7fBvMA4dJtNbPbJm5Us8hISK8wE CoQBROll0n4wQ5xaXdSQdNIutQLXk1Wv9pB6qzriUKFPoq0kxVwASBXNf+9mzrGzA1eXvhZ9D mNR5Xh8wrCdRPQdaj+MmsoJkXGNw5t7XgRX7DT3dUo97v+9El7DctRxx2Gk7TzRLHuvKMBPKJ WZwJHLqqsP507/TmCl91EMIzGi3X+bOdG064s5GATV2jNP6KkTwE0qt66QTB4B9T2jAxh7kje ux86XSo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161203_090302_021294_3BF2CF24 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-mmp/sram.c b/arch/arm/mach-mmp/sram.c index 0fbfc2a42ab3..260e8309dfd3 100644 --- a/arch/arm/mach-mmp/sram.c +++ b/arch/arm/mach-mmp/sram.c @@ -66,7 +66,7 @@ static int sram_probe(struct platform_device *pdev) struct sram_platdata *pdata = pdev->dev.platform_data; struct sram_bank_info *info; struct resource *res; - int ret = 0; + int ret; if (!pdata || !pdata->pool_name) return -ENODEV;