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 b3dc441..5aedcdf 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;