Re: [PATCH -next] usb: ohci-s3c2410: Remove set but not used variable 'hcd'
From: Krzysztof Kozlowski
Date: Wed May 29 2019 - 04:09:43 EST
On Tue, 28 May 2019 at 15:43, YueHaibing <yuehaibing@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> drivers/usb/host/ohci-s3c2410.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Best regards,
Krzysztof