Colin Ian King 4f3de46f7a 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>
2017-03-01 09:50:58 -08:00
..
2017-02-23 15:57:04 -08:00
2017-02-22 10:30:38 -08:00
2017-02-23 15:57:04 -08:00
2017-02-27 18:43:47 -08:00
2017-02-20 16:42:43 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 15:57:04 -08:00
2017-02-21 11:51:42 -08:00
2017-02-27 18:43:47 -08:00
2017-02-22 19:23:14 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 11:53:22 -08:00
2017-02-25 14:35:37 -08:00
2017-02-20 17:23:57 -08:00
2017-02-23 15:57:04 -08:00
2017-02-27 19:59:21 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 15:57:04 -08:00
2017-02-20 17:55:15 -08:00
2017-02-20 14:22:50 +01:00
2017-02-27 18:43:47 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 11:26:09 -08:00
2017-02-11 20:59:41 -05:00
2017-02-27 18:43:47 -08:00
2017-02-23 11:53:22 -08:00