diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-02-28 14:58:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-01 20:50:58 +0300 |
commit | 4f3de46f7a57a8ecc16c7ef69c6917b3731a7c5f (patch) | |
tree | 1b464840d02d47f9592c657954fcfdfb466fdc7d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 0bf09c397e13b70ab6064eb2af69b8fa8e68a24e (diff) | |
download | linux-4f3de46f7a57a8ecc16c7ef69c6917b3731a7c5f.tar.xz |
net: usb: asix_devices: fix missing return code check on call to asix_write_medium_mode
The call to asix_write_medium_mode is not updating the return code ret
and yet ret is being checked for an error. Fix this by assigning ret to
the return code from the call asix_write_medium_mode.
Detected by CoverityScan, CID#1357148 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions