Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939061AbdDST53 (ORCPT ); Wed, 19 Apr 2017 15:57:29 -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 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-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 26 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; -- 2.12.2