lkml.org 
[lkml]   [2018]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] phy: brcm-sata: remove unused variable
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@arndb.de>

Applied to libata/for-4.16.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2018-01-18 15:47    [W:0.276 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site