Colin Ian King ef5ec7f08d usb: misc: usbtest: remove redundant check on retval < 0
The check for retval being less than zero is always true since
retval equal to -EPIPE at that point.  Replace the existing
conditional with just return retval.

Detected with CoverityScan, CID#114349 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-14 09:32:25 -08:00
..
2016-09-13 17:24:24 +02:00
2016-08-09 15:49:01 +02:00
2016-08-09 15:49:01 +02:00
2016-04-29 15:29:18 -07:00
2016-04-29 15:29:18 -07:00
2016-08-09 15:49:01 +02:00