[U-Boot] [PATCH 3/3] clk_rv1108.c: Fix unused variable warning

Tom Rini trini at konsulko.com
Fri Jun 16 17:06:28 UTC 2017


The variables gpll_init_cfg and apll_init_cfg are unused in this file,
remove them.

Cc: Simon Glass <sjg at chromium.org>
Cc: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/clk/rockchip/clk_rv1108.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c
index 0a3ba3bff9f7..818293dfe87a 100644
--- a/drivers/clk/rockchip/clk_rv1108.c
+++ b/drivers/clk/rockchip/clk_rv1108.c
@@ -40,9 +40,6 @@ enum {
 			 "divisors on line " __stringify(__LINE__));
 
 /* use interge mode*/
-static const struct pll_div apll_init_cfg = PLL_DIVISORS(APLL_HZ, 1, 3, 1);
-static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2, 1);
-
 static inline int rv1108_pll_id(enum rk_clk_id clk_id)
 {
 	int id = 0;
-- 
1.9.1



More information about the U-Boot mailing list