Home
last modified time | relevance | path

Searched hist:"53 b7f7b5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/class/
H A Dcdc-wdm.c53b7f7b5 Tue Feb 14 21:10:52 CST 2017 Gustavo A. R. Silva <garsilva@embeddedor.com> usb: cdc-wdm: remove logically dead code

Remove logically dead code.
'cntr' is always equal to zero when the following line of code is executed:
rv = cntr ? cntr : -EAGAIN;

Addresses-Coverity-ID: 113227
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
53b7f7b5 Tue Feb 14 21:10:52 CST 2017 Gustavo A. R. Silva <garsilva@embeddedor.com> usb: cdc-wdm: remove logically dead code

Remove logically dead code.
'cntr' is always equal to zero when the following line of code is executed:
rv = cntr ? cntr : -EAGAIN;

Addresses-Coverity-ID: 113227
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>