diff options
author | Colin Ian King <[email protected]> | 2017-02-12 18:35:18 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-02-14 09:32:25 -0800 |
commit | ef5ec7f08d6750b4786efe8dc76184fd86f85d4c (patch) | |
tree | 711aed4d691ac85901d363789f2a5e4e8ac7d82e /scripts/gdb/vmlinux-gdb.py | |
parent | baa42a359e7272135aa61548aa99263be03fb668 (diff) |
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 <[email protected]>
Reviewed-by: Peter Chen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions