projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872b598
)
sh: clkfwk: fixup unsed variable warning
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 13 Nov 2012 00:33:17 +0000
(16:33 -0800)
committer
Simon Horman
<horms@verge.net.au>
Tue, 13 Nov 2012 02:45:40 +0000
(11:45 +0900)
This patch solves above warning
${LINUX}/drivers/sh/clk/cpg.c:404:6: warning: \
unused variable 'val' [-Wunused-variable]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
drivers/sh/clk/cpg.c
patch
|
blob
|
history
diff --git
a/drivers/sh/clk/cpg.c
b/drivers/sh/clk/cpg.c
index
b3dc441
..
5aedcdf
100644
(file)
--- a/
drivers/sh/clk/cpg.c
+++ b/
drivers/sh/clk/cpg.c
@@
-401,7
+401,6
@@
static int fsidiv_enable(struct clk *clk)
static int fsidiv_set_rate(struct clk *clk, unsigned long rate)
{
- u32 val;
int idx;
idx = (clk->parent->rate / rate) & 0xffff;