Commit 94091c6b authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 872b5983
...@@ -401,7 +401,6 @@ static int fsidiv_enable(struct clk *clk) ...@@ -401,7 +401,6 @@ static int fsidiv_enable(struct clk *clk)
static int fsidiv_set_rate(struct clk *clk, unsigned long rate) static int fsidiv_set_rate(struct clk *clk, unsigned long rate)
{ {
u32 val;
int idx; int idx;
idx = (clk->parent->rate / rate) & 0xffff; idx = (clk->parent->rate / rate) & 0xffff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment