usb: phy: mv-usb: Remove set but not used variable 'phy'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 29 May 2019 15:09:39 +0000 (23:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 13:21:57 +0000 (15:21 +0200)
commit32adeab3e3b5bc01ebb7746600e7c734482230d7
tree3ddce6b6b76efc2ca9db738aba812c7c21d7eab0
parent8e4c5d31e9eebc0e6cc225fb8f7cd87e5446d4f2
usb: phy: mv-usb: Remove set but not used variable 'phy'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/usb/phy/phy-mv-usb.c: In function mv_otg_work:
drivers/usb/phy/phy-mv-usb.c:404:18: warning: variable phy set but not used [-Wunused-but-set-variable]

It's no used since commit e47d92545c29 ("usb: move
the OTG state from the USB PHY to the OTG structure")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-mv-usb.c