staging: unisys: visornic: simplify visornic if statements
authorDavid Binder <david.binder@unisys.com>
Thu, 12 May 2016 13:14:45 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:55:19 +0000 (22:55 -0700)
commit6d8c96cbc161168726480ab01ad5c53fd6b2e04a
treefdc18ddaf5e982c50b7952d704ffec52da555bfd
parentd91184a9c6824205eb6072227bfc1f0beee2ade5
staging: unisys: visornic: simplify visornic if statements

Changes the conditional logic by looking for the absence of work
to do, instead of the opposite.

Signed-off-by: David Binder <david.binder@unisys.com>
Reviewed-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c