usb: misc: remove unnecessary code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 20 Feb 2017 23:28:46 +0000 (17:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 04:24:49 +0000 (13:24 +0900)
commit144a3cbe12ecabc0c11f8a0f2c5d878fe4fa6392
treeb8a25ecf89220cd4849febc9ce7c4af51f9e75e3
parentd4d75128b8fd727d42c775a16b41634d09409dba
usb: misc: remove unnecessary code

'val' is an unsigned variable, and less-than-zero comparison of an unsigned
variable is never true.

Addresses-Coverity-ID: 1230257
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/lvstest.c