clk: mmp: frac: Remove set but not used variable 'prev_rate'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 14:25:35 +0000 (22:25 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 7 Jun 2019 18:54:48 +0000 (11:54 -0700)
commitbe411411279ba989d187af07fe65a8b84b533c97
treee120db64ceaf9be6b31f47da6dbcab111dba5ddf
parentda6a5dda5e843f0a8904c2d171d585ae360f415e
clk: mmp: frac: Remove set but not used variable 'prev_rate'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/clk/mmp/clk-frac.c: In function clk_factor_set_rate:
drivers/clk/mmp/clk-frac.c:81:16: warning: variable prev_rate set but not used [-Wunused-but-set-variable]

It's never used and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mmp/clk-frac.c