* [PATCH -next] clk: ast2600: remove unused variable 'eclk_parent_names'
@ 2019-10-15 11:51 YueHaibing
2019-10-16 20:05 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-10-15 11:51 UTC (permalink / raw)
To: mturquette, sboyd; +Cc: linux-clk, linux-kernel, YueHaibing
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(-)
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 },
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] clk: ast2600: remove unused variable 'eclk_parent_names'
2019-10-15 11:51 [PATCH -next] clk: ast2600: remove unused variable 'eclk_parent_names' YueHaibing
@ 2019-10-16 20:05 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-10-16 20:05 UTC (permalink / raw)
To: YueHaibing, mturquette; +Cc: linux-clk, linux-kernel, YueHaibing
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-16 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 11:51 [PATCH -next] clk: ast2600: remove unused variable 'eclk_parent_names' YueHaibing
2019-10-16 20:05 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).