dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Kuninori Morimoto 2012-11-12 16:33:17 -08:00 committed by Simon Horman
parent 872b59832d
commit 94091c6b94
1 changed files with 0 additions and 1 deletions

View 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;