]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
clk: mediatek: remove unused array audio_parents
authorColin Ian King <colin.king@canonical.com>
Mon, 6 Aug 2018 13:44:02 +0000 (14:44 +0100)
committerStephen Boyd <sboyd@kernel.org>
Fri, 31 Aug 2018 01:29:36 +0000 (18:29 -0700)
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>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt2701.c

index 4dda8988b2f091a665860ae5b2f5dc4cc0492a23..ab6ab07f53e64b79cc7133929ebd3efb9bb1f71f 100644 (file)
@@ -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",