1
0
Fork 0
alistair23-linux/drivers/clk/mmp
YueHaibing be41141127 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>
2019-06-07 11:54:48 -07:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk-apbc.c clk: mmp: make clk_ops const 2017-11-01 23:25:47 -07:00
clk-apmu.c clk: mmp: make clk_ops const 2017-11-01 23:25:47 -07:00
clk-frac.c clk: mmp: frac: Remove set but not used variable 'prev_rate' 2019-06-07 11:54:48 -07:00
clk-gate.c clk: Remove CLK_IS_BASIC clk flag 2019-04-26 10:40:49 -07:00
clk-mix.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk-mmp2.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk-of-mmp2.c clk: mmp2: separate LCDC peripheral clk form the display clock 2019-02-21 13:52:02 -08:00
clk-of-pxa168.c clk: mmp: pxa168: fix return value check in pxa168_clk_init() 2016-11-01 17:41:20 -07:00
clk-of-pxa910.c clk:mmp:clk-of-pxa910: Free memory and Unmap region obtained by kzmalloc and of_iomap 2016-12-08 16:29:38 -08:00
clk-of-pxa1928.c clk: mmp: clk-of-pxa1928: Free memory obtained by kzalloc 2016-12-08 16:29:37 -08:00
clk-pxa168.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk-pxa910.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk.c clk: mmp: Off by one in mmp_clk_add() 2018-12-03 09:54:48 -08:00
clk.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00