RE: [PATCH] usb: gadget: udc: renesas_usb3: remove redundant assignment to ret
From: Yoshihiro Shimoda
Date: Wed Jun 26 2019 - 21:15:46 EST
Hi Colin,
> From: Colin King, Sent: Thursday, June 27, 2019 1:35 AM
>
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable ret is being initialized with a value that is never read and
> ret is being re-assigned immediately after the initialization in both
> paths of an if statement. This is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
Best regards,
Yoshihiro Shimoda