Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1416122 > unrolled thread

[PATCH 1/1] clk: Remove unused variable

Started byLee Jones <lee.jones@linaro.org>
First post2016-06-07 14:30 +0200
Last post2016-06-07 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] clk: Remove unused variable Lee Jones <lee.jones@linaro.org> - 2016-06-07 14:30 +0200

#1416122 — [PATCH 1/1] clk: Remove unused variable

FromLee Jones <lee.jones@linaro.org>
Date2016-06-07 14:30 +0200
Subject[PATCH 1/1] clk: Remove unused variable
Message-ID<rHoiS-2DC-33@gated-at.bofh.it>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/clk/clk.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index d584004..8a815a1 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1501,7 +1501,6 @@ static int clk_core_set_rate_nolock(struct clk_core *core,
 {
 	struct clk_core *top, *fail_clk;
 	unsigned long rate = req_rate;
-	int ret = 0;
 
 	if (!core)
 		return 0;
@@ -1532,7 +1531,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core,
 
 	core->req_rate = req_rate;
 
-	return ret;
+	return 0;
 }
 
 /**
-- 
2.8.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web