commit | 59608cb1de185613b3a7b1615a9b08480f5a566a | [log] [tgz] |
---|---|---|
author | Quentin Deslandes <quentin.deslandes@itdev.co.uk> | Mon May 20 16:39:01 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 21 08:25:03 2019 +0200 |
tree | 0c8f30e2eea4f6242b5e9e5dfe18009efc7c7ec7 | |
parent | 3fd14ebc2d5233e0fd6a90486cb88f5592875a6b [diff] |
staging: vt6656: clean function's error path in usbpipe.c Avoid discarding called function's returned value. Store it instead in order to act accordingly. Update error path to return 0 on success and a negative errno value on error. Signed-off-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>