diff mbox series

[-next] clk: ast2600: remove unused variable 'eclk_parent_names'

Message ID 20191015115117.23504-1-yuehaibing@huawei.com (mailing list archive)
State Accepted, archived
Headers show
Series [-next] clk: ast2600: remove unused variable 'eclk_parent_names' | expand

Commit Message

Yue Haibing Oct. 15, 2019, 11:51 a.m. UTC
drivers/clk/clk-ast2600.c:119:27: warning:
 eclk_parent_names defined but not used [-Wunused-const-variable=]

It is never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/clk/clk-ast2600.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Stephen Boyd Oct. 16, 2019, 8:05 p.m. UTC | #1
Quoting YueHaibing (2019-10-15 04:51:17)
> drivers/clk/clk-ast2600.c:119:27: warning:
>  eclk_parent_names defined but not used [-Wunused-const-variable=]
> 
> It is never used, so can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/clk-ast2600.c b/drivers/clk/clk-ast2600.c
index 1c1bb39..ebaafb5 100644
--- a/drivers/clk/clk-ast2600.c
+++ b/drivers/clk/clk-ast2600.c
@@ -116,8 +116,6 @@  static const struct aspeed_gate_data aspeed_g6_gates[] = {
 	[ASPEED_CLK_GATE_FSICLK]	= { 62,  59, "fsiclk-gate",	NULL,	 0 },	/* FSI */
 };
 
-static const char * const eclk_parent_names[] = { "mpll", "hpll", "dpll" };
-
 static const struct clk_div_table ast2600_eclk_div_table[] = {
 	{ 0x0, 2 },
 	{ 0x1, 2 },