summaryrefslogtreecommitdiff
path: root/drivers/sh/clk
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-11-12 16:33:17 -0800
committerSimon Horman <horms@verge.net.au>2012-11-13 11:45:40 +0900
commit94091c6b9498116abe3035137d8c3e707528efd0 (patch)
tree7f8d1c9a80c7efa2b355b999722a4fcb49a26e5a /drivers/sh/clk
parent872b59832d920ba7398b7cf81b5d8fc9088f8259 (diff)
downloadlinux-3.10-94091c6b9498116abe3035137d8c3e707528efd0.tar.gz
linux-3.10-94091c6b9498116abe3035137d8c3e707528efd0.tar.bz2
linux-3.10-94091c6b9498116abe3035137d8c3e707528efd0.zip
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/sh/clk')
-rw-r--r--drivers/sh/clk/cpg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c
index b3dc44146ca..5aedcdf4ac5 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;