Re: [PATCH] phy: brcm-sata: remove unused variable

From: Tejun Heo
Date: Thu Jan 18 2018 - 09:46:41 EST


On Thu, Jan 18, 2018 at 02:19:58PM +0100, Arnd Bergmann wrote:
> The newly introduced calibrate function has a variable
> that has never been used and needs to be removed to avoid
> this harmless warning:
>
> drivers/phy/broadcom/phy-brcm-sata.c: In function 'brcm_stb_sata_calibrate':
> drivers/phy/broadcom/phy-brcm-sata.c:514:24: error: unused variable 'priv' [-Werror=unused-variable]
>
> Fixes: 3e507769d15e ("phy: brcm-sata: Implement calibrate callback")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied to libata/for-4.16.

Thanks.

--
tejun