Messages in this thread | | | From | Krzysztof Kozlowski <> | Date | Wed, 29 May 2019 10:06:04 +0200 | Subject | Re: [PATCH -next] usb: ohci-s3c2410: Remove set but not used variable 'hcd' |
| |
On Tue, 28 May 2019 at 15:43, YueHaibing <yuehaibing@huawei.com> wrote: > > 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> > --- > drivers/usb/host/ohci-s3c2410.c | 2 -- > 1 file changed, 2 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards, Krzysztof
| |