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: 10020525 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 498C660211 for ; Fri, 20 Oct 2017 15:18:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CE1D28EEF for ; Fri, 20 Oct 2017 15:18:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 419CF28EFD; Fri, 20 Oct 2017 15:18:17 +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=-3.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D997C28EEF for ; Fri, 20 Oct 2017 15:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XiqOhQvwTzMrG0iOJzeEFsgfnHJTkjqn+WiD/Lu5eQY=; b=E+n9Rt1BIz6fSg G1VLzVHhDFYFotRqp4M18VqUMzFOpZqgerOHpMISE2malv7NEbeOC4Pkm0c6jHqYaExoPV8fljxk7 ZcsZMaEmrqWhucqTvJ7DmK02WLg0yGo0pBs4Hz1i/m3cAzcw0Ss9ZFittsSTDLLZXL70FIHfDBVDl 9K3yLbQU/1EA8Di8X0MLN8I7JJ+W6YY600By+qqaCigsf3NtXU6n3H96Ome7sXDBwFQh+g6LZr1ws VF/BRSmM2a0LfO7Ne3B2lkfRpHaxj6sJBKsCCpYAkdTzsidXAfV7ZxHF5smMgsN+y00VJHsF6i0WD rVhU4OihUGcAE0VoEykQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5Z3o-0001gG-7z; Fri, 20 Oct 2017 15:18:08 +0000 Received: from mout.web.de ([212.227.17.12]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e5Z3e-0001O2-RD for linux-arm-kernel@lists.infradead.org; Fri, 20 Oct 2017 15:18:06 +0000 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 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+TXmf8Q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646709E3 X-CRM114-CacheID: sfid-20171020_081759_327385_421514E8 X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, LKML Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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();