From patchwork Wed Apr 19 19:57:21 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: 9688801 X-Patchwork-Delegate: sboyd@codeaurora.org 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 BA6B6602DC for ; Wed, 19 Apr 2017 19:57:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC8FC223B3 for ; Wed, 19 Apr 2017 19:57:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A188F28174; Wed, 19 Apr 2017 19:57:46 +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 51DA22832D for ; Wed, 19 Apr 2017 19:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936272AbdDST52 (ORCPT ); Wed, 19 Apr 2017 15:57:28 -0400 Received: from mout.web.de ([212.227.15.4]:65153 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936126AbdDST51 (ORCPT ); Wed, 19 Apr 2017 15:57:27 -0400 Received: from [192.168.1.2] ([77.182.113.86]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MfYXz-1cgGU51deN-00P2yx; Wed, 19 Apr 2017 21:57:22 +0200 Subject: [PATCH 5/5] clk: mvebu: Delete an unnecessary variable initialisation in kirkwood_fix_sscg_deviation() From: SF Markus Elfring To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org References: <8af5ccb0-f7c1-297c-2661-8ced61302c37@users.sourceforge.net> Message-ID: Date: Wed, 19 Apr 2017 21:57:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <8af5ccb0-f7c1-297c-2661-8ced61302c37@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:H+N8R9SHgvT4wwBzRzAx5rn/5c5YBHNX65ttASmyP5YDMRJ6chI Zp7rlF02VuRPFBTtC3/oalDi3xkZm7mLjsREUtPdQlF62D1OxZ6wJ7Z2sOUBwFZXlwsPRjg HBXjUg2Iw7vlTnkpGOm6b1+EXtYyZe9cichj7alYwAiZXwl83brIEdcjXpbPAGoCLUkjuzC 2O0Hu3LCxPiHpl3A049cg== X-UI-Out-Filterresults: notjunk:1; V01:K0:m/7ysMxJ6eM=:Mef7lmI6MjwT3gleA5pNqg O3gdbvHcr5VHlUXygozUWxARtiqJzUaGj6AYx+66veEE71zfD2BrctwK4T0KICyo3iEkV/zEH m3LI2Oxh5E+QEd2B/kR07BLGRsVOIUAESLcSj6/ifoQDnMsAlZ3A8VmlDxsyPf9r7f4TQVxge /M15AI/0AqClc61kh/HQ/ZNSHlB39izz1rT/UavJGLgtiIjvaVBso0ZuwfB/JR3zGI+lzeHCI GGzGtX40NEt0nnF30AF+Ib7Pa4AFQbfz4yEPaSJNIgNPdFz902ZcnmvNCc9dMAyIaiilnCVDD 3Z4I3rtCY7d1VNaG+mCn7ZJmA5Pr7LTlzkqzWT9DnKJbDj0uP8Xc5rYvFDhaN6zt8Dt6DaBxb awQjx90UM8oPlweEWoYAxe5z8DFOZ8JN3dt3DLafylrmlNZUbKWC6UOU6erAwKOJaFUD0Xt1Z I+BpNYt7IBfGEUYTZjqCDWGcQvVZMLnpC8o+/4UIfNZ1mzsynO3GSz+lfAudI8DLd6gaDE2H3 gN4VuYuEgSUffrI6o9PGam7B2jxgrOp+MRYipt2ZmsMf8h5j86PLXxbE6GItJsJCyeGYC/ufD 5Nf8jw/oCXy6/1H9R/3buWsqUhj6hK0jvj/lDL2JKE+QnTNEAL93udgq7rD2E2gz4KwGsFPnW ZzkLR7OJ8HVlmmcFEd006VJZSmvHJhNpg41/GM+AzYpMsdUsOjawu2eQg06U7QDzi6befVUXr q10zZv2ALT2K/WmqtI29e8ntbterwkezapkUreujVyVoVqBKkZ4OyNRZc4bZfoMDIMNLc+Fb6 Ma1soGX Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Wed, 19 Apr 2017 21:31:43 +0200 A pointer is immediately assigned to the local variable "sscg_np". Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/clk/mvebu/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c index 659d534a137b..6cfa38566e19 100644 --- a/drivers/clk/mvebu/common.c +++ b/drivers/clk/mvebu/common.c @@ -44,7 +44,7 @@ static struct clk_onecell_data clk_data; */ u32 kirkwood_fix_sscg_deviation(u32 system_clk) { - struct device_node *sscg_np = NULL; + struct device_node *sscg_np; void __iomem *sscg_map; u32 sscg_reg; s32 low_bound, high_bound;