From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Wed, 19 Apr 2017 19:57:21 +0000 Subject: [PATCH 5/5] clk: mvebu: Delete an unnecessary variable initialisation in kirkwood_fix_sscg_deviation Message-Id: List-Id: References: <8af5ccb0-f7c1-297c-2661-8ced61302c37@users.sourceforge.net> In-Reply-To: <8af5ccb0-f7c1-297c-2661-8ced61302c37@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 MIME-Version: 1.0 In-Reply-To: <8af5ccb0-f7c1-297c-2661-8ced61302c37@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 List-ID: 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