sh: clkfwk: fixup unsed variable warning
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 13 Nov 2012 00:33:17 +0000 (16:33 -0800)
committerSimon 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

index b3dc44146ca072bdacc97ab0ba3f872a664a341a..5aedcdf4ac5cd185a2ffac8ebcca2e3dcffd6c27 100644 (file)
@@ -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;