Re: [PATCH] Usb: core: Correct self assignment in phy.c

2018-04-07 Thread Martin Blumenstingl
Hello, thank you for finding this! On Sat, Apr 7, 2018 at 1:04 AM, Rishabh Bhatnagar wrote: > In file drivers/usb/core/phy.c line 114, ret variable is assigned to > itself. The following error was observed: > > kernel/drivers/usb/core/phy.c:114:8: warning: explicitly

[PATCH] Usb: core: Correct self assignment in phy.c

2018-04-06 Thread Rishabh Bhatnagar
In file drivers/usb/core/phy.c line 114, ret variable is assigned to itself. The following error was observed: kernel/drivers/usb/core/phy.c:114:8: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] error, forbidden warning: phy.c:114 This error was found when