[PATCH] ARM: dove: Drop a write-only variable
Andrew Lunn
andrew at lunn.ch
Mon Jul 8 06:37:15 PDT 2024
On Mon, Jul 08, 2024 at 11:23:49AM +0200, Uwe Kleine-König wrote:
> This fixes a W=1 build error:
>
> arch/arm/mach-dove/common.c: In function ‘dove_clk_init’:
> arch/arm/mach-dove/common.c:85:40: error: variable ‘gephy’ set but not used [-Werror=unused-but-set-variable]
> 85 | struct clk *xor0, *xor1, *ge, *gephy;
> | ^~~~~
>
> Fixes: 521674718af0 ("ARM: dove: add clock gating control")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list