usb: ohci-s3c2410: Remove set but not used variable 'hcd'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 28 May 2019 13:43:05 +0000 (21:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 13:21:57 +0000 (15:21 +0200)
commit5a1d99b11b1b1fe249581e24d95208d3671f8f14
treeae82a1f1a7578cbed0a70a6828e0239bb0c1ac25
parent6dade7ad8876a1dee84b3e321e6bf44dd2156217
usb: ohci-s3c2410: Remove set but not used variable 'hcd'

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

drivers/usb/host/ohci-s3c2410.c: In function s3c2410_hcd_oc:
drivers/usb/host/ohci-s3c2410.c:296:18: warning: variable hcd set but not used [-Wunused-but-set-variable]

It is never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-s3c2410.c