projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62c190
)
clk: Remove unused variable
author
Lee Jones
<lee.jones@linaro.org>
Tue, 7 Jun 2016 12:25:02 +0000
(13:25 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 21 Jun 2016 00:46:30 +0000
(17:46 -0700)
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/clk.c
b/drivers/clk/clk.c
index 874c7dd8ef66a39262f273f868ce36be7fd03373..df844a60fdf99b6f5213b4e04fcb92cfcb8079f3 100644
(file)
--- 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
;
}
/**