From: Kuninori Morimoto Date: Tue, 13 Nov 2012 00:33:17 +0000 (-0800) Subject: sh: clkfwk: fixup unsed variable warning X-Git-Tag: upstream/snapshot3+hdmi~6065^2~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94091c6b9498116abe3035137d8c3e707528efd0;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Simon Horman --- diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c index b3dc441..5aedcdf 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;