]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
phy: brcm-sata: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Jan 2018 13:19:58 +0000 (14:19 +0100)
committerTejun Heo <tj@kernel.org>
Thu, 18 Jan 2018 14:45:57 +0000 (06:45 -0800)
commit7b7c1763725bfdb195763c3017a21ce785251d44
tree0c596646dd79fc256df562c9c5955ff93aa106bb
parent01353bbea50334847d4a7f9e0e8a31c609a21300
phy: brcm-sata: remove unused variable

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>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/phy/broadcom/phy-brcm-sata.c