clk: ast2600: remove unused variable 'eclk_parent_names'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 11:51:17 +0000 (19:51 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 20:05:19 +0000 (13:05 -0700)
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>
Link: https://lkml.kernel.org/r/20191015115117.23504-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-ast2600.c

index 1c1bb39bb04e672ccb73bd66f78ba61f6fbac787..ebaafb57a24f9e327a881bda771976860c50dc51 100644 (file)
@@ -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 },