[PATCH] clk: mediatek: Fix -Wunused-const-variable

Stephen Boyd sboyd at kernel.org
Thu Jun 27 16:52:06 PDT 2019


Quoting Nathan Huckleberry (2019-06-27 15:15:07)
> Clang produces the following warning
> 
> drivers/clk/mediatek/clk-mt8516.c:234:27: warning: unused variable
> 'ddrphycfg_parents' [-Wunused-const-variable] static const char * const
> ddrphycfg_parents[] __initconst = {
> 
> This variable has never been used. Deleting it to cleanup the warning.
> 
> Cc: clang-built-linux at googlegroups.com
> Link: https://github.com/ClangBuiltLinux/linux/issues/523
> Signed-off-by: Nathan Huckleberry <nhuck at google.com>

This patch has already been applied. It would be great if you could try
applying the patch to linux-next first before sending patches to make
sure they're still relevant.




More information about the Linux-mediatek mailing list