diff options
author | Kuninori Morimoto | 2012-11-12 16:33:17 -0800 |
---|---|---|
committer | Simon Horman | 2012-11-13 11:45:40 +0900 |
commit | 94091c6b9498116abe3035137d8c3e707528efd0 (patch) | |
tree | 7f8d1c9a80c7efa2b355b999722a4fcb49a26e5a | |
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>
-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) static int fsidiv_set_rate(struct clk *clk, unsigned long rate) { - u32 val; int idx; idx = (clk->parent->rate / rate) & 0xffff; |