]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: mediatek: mt8516: Remove unused variable
authorPhilippe Mazenauer <philippe.mazenauer@outlook.de>
Thu, 6 Jun 2019 17:54:30 +0000 (10:54 -0700)
committerStephen Boyd <sboyd@kernel.org>
Fri, 7 Jun 2019 18:54:47 +0000 (11:54 -0700)
Variable 'ddrphycfg_parents' is defined static and initialized, but not
used in the file.

../drivers/clk/mediatek/clk-mt8516.c:234:27: warning: ‘ddrphycfg_parents’ defined but not used [-Wunused-const-variable=]
 static const char * const ddrphycfg_parents[] __initconst = {
                           ^~~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8516.c

index 26fe43cc9ea22962bf3d3590ec87b0e07ffd1094..9d4261ecc7607eb7ff0f9f7d93be3c8cc6f69e3b 100644 (file)
@@ -231,11 +231,6 @@ static const char * const nfi1x_pad_parents[] __initconst = {
        "nfi1x_ck"
 };
 
-static const char * const ddrphycfg_parents[] __initconst = {
-       "clk26m_ck",
-       "mainpll_d16"
-};
-
 static const char * const usb_78m_parents[] __initconst = {
        "clk_null",
        "clk26m_ck",