]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: host: ohci-st: Remove set but not used variable 'ohci'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 28 May 2019 13:38:49 +0000 (21:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 13:21:56 +0000 (15:21 +0200)
commit2e5a359e4a816c3a93db18e3789b5ec739f5ee18
tree639448724393457168c860b1dc2d7c7535cfc557
parent05387733ed57b6a971fc88f77cc6522eaafd46f2
usb: host: ohci-st: Remove set but not used variable 'ohci'

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

drivers/usb/host/ohci-st.c: In function st_ohci_platform_probe:
drivers/usb/host/ohci-st.c:135:19: warning: variable ohci set but not used [-Wunused-but-set-variable]

It's never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-st.c