OSDN Git Service

staging: emxx_udc: Do not use comparisons on bool tests
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Tue, 23 Sep 2014 08:36:37 +0000 (11:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 03:27:58 +0000 (20:27 -0700)
commit5cbca957067a58dd1e381693b4a8a01f5aea6485
tree7405b929aaaf25985859bf88f4ce27c7d3e76ef9
parent1a366abe5d5e4da65a10531240a246fb3f90d2bd
staging: emxx_udc: Do not use comparisons on bool tests

This fixes the following coccinelle warning:
WARNING: Comparison of bool to 0/1

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c