Re: [PATCH] phy: brcm-sata: remove unused variable
From: Florian Fainelli
Date: Thu Jan 18 2018 - 15:23:31 EST
On 01/18/2018 05:19 AM, 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>
Sorry, rebased and this was left, thanks Arnd!
--
Florian