Re: [PATCH 20/20] clk: zynq: clkc: Remove various instances of an unused variable 'clk'
From: Stephen Boyd
Date: Thu Feb 11 2021 - 14:56:51 EST
Quoting Lee Jones (2021-01-20 01:30:40)
> Fixes the following W=1 kernel build warning(s):
>
> drivers/clk/zynq/clkc.c: In function ‘zynq_clk_register_fclk’:
> drivers/clk/zynq/clkc.c:106:14: warning: variable ‘clk’ set but not used [-Wunused-but-set-variable]
> drivers/clk/zynq/clkc.c: In function ‘zynq_clk_register_periph_clk’:
> drivers/clk/zynq/clkc.c:179:14: warning: variable ‘clk’ set but not used [-Wunused-but-set-variable]
> drivers/clk/zynq/clkc.c: In function ‘zynq_clk_setup’:
> drivers/clk/zynq/clkc.c:220:14: warning: variable ‘clk’ set but not used [-Wunused-but-set-variable]
>
> Cc: Michael Turquette <mturquette@xxxxxxxxxxxx>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
> Cc: Michal Simek <michal.simek@xxxxxxxxxx>
> Cc: "Sören Brinkmann" <soren.brinkmann@xxxxxxxxxx>
> Cc: linux-clk@xxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
Applied to clk-next