diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-11-13 01:33:17 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-11-13 03:45:40 +0100 |
commit | 94091c6b9498116abe3035137d8c3e707528efd0 (patch) | |
tree | 7f8d1c9a80c7efa2b355b999722a4fcb49a26e5a /drivers/sh/clk | |
parent | Revert "ARM: shmobile: r8a7779: Replace modify_scu_cpu_psr with scu_power_mode" (diff) | |
download | linux-94091c6b9498116abe3035137d8c3e707528efd0.tar.xz linux-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.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; |