Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;