[PATCH -next] clk: npcm7xx: remove unused code

Stephen Boyd sboyd at kernel.org
Sat Aug 17 03:33:44 AEST 2019


Quoting YueHaibing (2019-08-16 07:11:32)
> drivers/clk/clk-npcm7xx.c:365:48: warning:
>  npcm7xx_divs_fx defined but not used [-Wunused-const-variable=]
> drivers/clk/clk-npcm7xx.c:438:43: warning:
>  npcm7xx_gates defined but not used [-Wunused-const-variable=]
> 
> The two variables are never used, so remove them,
> also remove related type declarations.
> 
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---

Maybe we should register the gates?



More information about the openbmc mailing list