Skip to content

Commit

Permalink
sh: clkfwk: fixup unsed variable warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Nov 13, 2012
1 parent 872b598 commit 94091c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/sh/clk/cpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94091c6

Please sign in to comment.