Thread (1 message) 1 message, 1 author, 2019-06-13

Re: Cleanup of -Wunused-const-variable in drivers/clk/mediatek/clk-mt8516.c

From: Nathan Huckleberry <hidden>
Date: 2019-06-13 16:55:35
Also in: linux-arm-kernel, linux-clk

Hey all,

I'm looking into cleaning up ignored warnings in the kernel so we can
remove compiler flags to ignore warnings. There's a variable
(ddrphycfg_parents) in clk-mt8516.c causing an unused const warning.
Just wanted to reach out to ask if this variable is intended to be
used.

It doesn't look like it has been used since it was first introduced.
If it is no longer needed I'd like to remove it.

https://github.com/ClangBuiltLinux/linux/issues/523

Thanks,
Nathan Huckleberry

Re-sent in plaintext so mailing lists pick it up.


On Thu, Jun 13, 2019 at 9:47 AM Nathan Huckleberry [off-list ref] wrote:
Hey all,

I'm looking into cleaning up ignored warnings in the kernel so we can remove compiler flags to ignore warnings. There's a variable (ddrphycfg_parents) in clk-mt8516.c causing an unused const warning. Just wanted to reach out to ask if this variable is intended to be used.

It doesn't look like it has been used since it was first introduced. If it is no longer needed I'd like to remove it.

https://github.com/ClangBuiltLinux/linux/issues/523

Thanks,
Nathan Huckleberry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help