commit | 7aa47db9d8721df0608f70fcc6c01cd766b5cc94 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Wed Feb 17 09:45:28 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 20 15:22:18 2016 -0800 |
tree | 9ddf8705c09710bfdf2415b71d949665cb262974 | |
parent | 7cb07dc4e4431546979242f86f4cf5af233bb860 [diff] |
staging: vt6656: simplify tests of successful urb status Use if (status) in tests for successful urb status. This replaces (status != 0) and (status == STATUS_SUCCESS). (STATUS_SUCCESS is defined for NDIS status in this driver, but was being misused) Signed-off-by: Alison Schofield <amsfield22@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>