Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: mediatek: mt8516: Remove unused variable

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>

authored by

Philippe Mazenauer and committed by
Stephen Boyd
60e9c370 a188339c

-5
-5
drivers/clk/mediatek/clk-mt8516.c
··· 231 231 "nfi1x_ck" 232 232 }; 233 233 234 - static const char * const ddrphycfg_parents[] __initconst = { 235 - "clk26m_ck", 236 - "mainpll_d16" 237 - }; 238 - 239 234 static const char * const usb_78m_parents[] __initconst = { 240 235 "clk_null", 241 236 "clk26m_ck",