staging: vt6656: simplify tests of successful urb status
authorAlison Schofield <amsfield22@gmail.com>
Wed, 17 Feb 2016 17:45:28 +0000 (09:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:22:18 +0000 (15:22 -0800)
commit7aa47db9d8721df0608f70fcc6c01cd766b5cc94
tree9ddf8705c09710bfdf2415b71d949665cb262974
parent7cb07dc4e4431546979242f86f4cf5af233bb860
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>
drivers/staging/vt6656/usbpipe.c