summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-06-07 13:25:02 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-06-20 17:46:30 -0700
commit06b37e4a6ef2d392f3f35c94a9fe5d43f09f36c7 (patch)
tree6baf8db63988fc0eefefc9bf4fc3b29b19fd37e1 /drivers/clk/clk.c
parentb62c190f80342f76e3d1e9ebbe16f580a21cc64b (diff)
clk: Remove unused variable
Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk.c')
-rw-r--r--drivers/clk/clk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 874c7dd8ef66..df844a60fdf9 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;
}
/**