drivers/net: Remove boolean comparisons to true/false
authorJoe Perches <joe@perches.com>
Thu, 9 Feb 2012 11:17:23 +0000 (11:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2012 05:47:40 +0000 (00:47 -0500)
Booleans should not be compared to true or false
but be directly tested or tested with !.

Done via cocci script:

@@
bool t;
@@
- t == true
+ t
@@
bool t;
@@
- t != true
+ !t
@@
bool t;
@@
- t == false
+ !t
@@
bool t;
@@
- t != false
+ t

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found