* [PATCH] clk: mediatek: remove unused array audio_parents
@ 2018-08-06 13:44 Colin King
2018-08-31 1:29 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2018-08-06 13:44 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Matthias Brugger, linux-clk,
linux-arm-kernel, linux-mediatek
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
Array audio_parents is declared but never used, hence it is redundant
and can be removed.
Cleans up clang warning:
warning: 'audio_parents' defined but not used [-Wunused-const-variable=]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/clk/mediatek/clk-mt2701.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mt2701.c b/drivers/clk/mediatek/clk-mt2701.c
index 4dda8988b2f0..ab6ab07f53e6 100644
--- a/drivers/clk/mediatek/clk-mt2701.c
+++ b/drivers/clk/mediatek/clk-mt2701.c
@@ -249,11 +249,6 @@ static const char * const msdc30_parents[] = {
"univpll2_d4"
};
-static const char * const audio_parents[] = {
- "clk26m",
- "syspll1_d16"
-};
-
static const char * const aud_intbus_parents[] = {
"clk26m",
"syspll1_d4",
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: mediatek: remove unused array audio_parents
2018-08-06 13:44 [PATCH] clk: mediatek: remove unused array audio_parents Colin King
@ 2018-08-31 1:29 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2018-08-31 1:29 UTC (permalink / raw)
To: Colin King, Matthias Brugger, Michael Turquette,
linux-arm-kernel, linux-clk, linux-mediatek
Cc: kernel-janitors, linux-kernel
Quoting Colin King (2018-08-06 06:44:02)
> From: Colin Ian King <colin.king@canonical.com>
> =
> Array audio_parents is declared but never used, hence it is redundant
> and can be removed.
> =
> Cleans up clang warning:
> warning: 'audio_parents' defined but not used [-Wunused-const-variable=3D]
> =
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-31 1:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06 13:44 [PATCH] clk: mediatek: remove unused array audio_parents Colin King
2018-08-31 1:29 ` 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).