USB: ohci-spear: Remove set but not used variable 'ohci'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 14:38:08 +0000 (22:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 13:21:57 +0000 (15:21 +0200)
commit53cdff30fc333718b6470c9604636b7b6f47542a
treeb11526b024d63273075bd2f949464b15fc14704e
parentc8a93dcd0cbd341ce1b6d5e6671566d5fba76d68
USB: ohci-spear: Remove set but not used variable 'ohci'

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

drivers/usb/host/ohci-spear.c: In function spear_ohci_hcd_drv_probe:
drivers/usb/host/ohci-spear.c:38:19: warning: variable ohci set but not used [-Wunused-but-set-variable]

It is never used since commit 1cc6ac59ffaa ("USB:
OHCI: make ohci-spear a separate driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-spear.c