From patchwork Fri Oct 20 15:17:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10020521 Return-Path: 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 DB10F60211 for ; Fri, 20 Oct 2017 15:18:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF22928EEF for ; Fri, 20 Oct 2017 15:18:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2DC128EFD; Fri, 20 Oct 2017 15:18:11 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 764A028EEF for ; Fri, 20 Oct 2017 15:18:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752301AbdJTPSJ (ORCPT ); Fri, 20 Oct 2017 11:18:09 -0400 Received: from mout.web.de ([212.227.17.12]:57771 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752297AbdJTPSI (ORCPT ); Fri, 20 Oct 2017 11:18:08 -0400 Received: from [192.168.1.2] ([77.181.73.162]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MN4Gi-1e7kub1mci-006ghu; Fri, 20 Oct 2017 17:17:33 +0200 Subject: [PATCH 2/2] ARM: OMAP3: Delete an unnecessary variable initialisation in omap3xxx_hwmod_init() From: SF Markus Elfring To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Paul Walmsley , Russell King , Tony Lindgren Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: Date: Fri, 20 Oct 2017 17:17:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:GkQSqyhBzlZyLmHzNn9E8SUr4tLMHCeHoqB38DcKjns86dtDLcj u8KP7wq9UWpwvULEJLKj8c7g40qZJw1L+RlnmJryasIj+TXmf8QF7AToLkPf/vKB5Ca1lqP nwKsIZseE25XOYTDfgwWkRBsBflmhHssbbeL00cy3X3DdxgZaMFODpXRlvCRZsOGLzYX1mI ceQGipuUEp5nYdsttXTaw== X-UI-Out-Filterresults: notjunk:1; V01:K0:O47kCn9LMNY=:cyWxalNvUYPx53D6fTX2p5 4Zt447nKWtKFdG5ZvGFbxn6gU0e0AcV4P3XWjusr9702Ma8yc8ZgZzBzs/aPZ06rWjJdfqOpW Bda/pbpKIN2yS4ObBZAMWJG4i3tyTnl3w5HCawDMMzetl8k2Tm90FJwRczCaa9mKEr83pTMQZ LIWaF8EuDgjgEfpg+aJIwN7kzVoc9KDHP+kl/W+hr44N903IJTkpuWXM0VbQXA2rv/ndhMeNq B/ScYkgLWwpIlA02iChe6X/D3SNRlfRhlzlnPGI/YUPQaLOxAFLLBc3lTveuDQLAl+twWQEKQ Swq5QcPty983nDbNCpm43pyqQq4+B2gkpU9I1BsQLKur0xKADYbpbVawOE+8nBV/a47OUfAEh Z2BGpmVPt+evZTpbuF6C7rrIO07LnOZO8PoWkq63yWFtA29CpaL931fwihyB4m8OEAhmtv8tu Qp+VQxSZbm5Ot5toaS4DnQHGNofFvqOEjsdst7ghOjxPdF8XHTwbejmB+jisEp6kBiIEbyYXA xRL1WH2nZCkOrg1/nTG9JCHxNTi1rHUh+95FjJOC6Jb7O+IqjK+TWckBHT0xBgfPlozsk9IKL aoVmDZTnbxuuoiCeJV1A69repA0q3bfGbC7y02oaQ+JS9JbQshctnnuQKz7tMc5u3mT+0J/eR jgeirn3EiqtlgUf5l02WiZXemLz6FqAMSlEZE3aA4B2l7CVcjUmanygDmrMPqTpzoE+ZpYIVn n6AqqJq6S6sfyg2IQuIdOc5QbP/iDrwCqbpvfbHtBTVcWmLP4nCeopk70x4mVVPwQ4StgAHsW Sae0f2eKLUKzLxGyFYVzfwzzKZ1pdx5GcWo+14ULeGEDIQ+bDE= Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Fri, 20 Oct 2017 16:37:07 +0200 The local variable "bus" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index bb6eb1efb1b7..fd7db429e02b 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c @@ -3148,7 +3148,7 @@ int __init omap3xxx_hwmod_init(void) int r; struct omap_hwmod_ocp_if **h = NULL, **h_gp = NULL, **h_sham = NULL; struct omap_hwmod_ocp_if **h_aes = NULL; - struct device_node *bus = NULL; + struct device_node *bus; unsigned int rev; omap_hwmod_init();