diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-11-12 19:33:17 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-11-12 21:45:40 -0500 |
commit | 94091c6b9498116abe3035137d8c3e707528efd0 (patch) | |
tree | 7f8d1c9a80c7efa2b355b999722a4fcb49a26e5a /drivers | |
parent | 872b59832d920ba7398b7cf81b5d8fc9088f8259 (diff) |
sh: clkfwk: fixup unsed variable warning
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sh/clk/cpg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c index b3dc44146ca0..5aedcdf4ac5c 100644 --- a/drivers/sh/clk/cpg.c +++ b/drivers/sh/clk/cpg.c | |||
@@ -401,7 +401,6 @@ static int fsidiv_enable(struct clk *clk) | |||
401 | 401 | ||
402 | static int fsidiv_set_rate(struct clk *clk, unsigned long rate) | 402 | static int fsidiv_set_rate(struct clk *clk, unsigned long rate) |
403 | { | 403 | { |
404 | u32 val; | ||
405 | int idx; | 404 | int idx; |
406 | 405 | ||
407 | idx = (clk->parent->rate / rate) & 0xffff; | 406 | idx = (clk->parent->rate / rate) & 0xffff; |