From: Joe Perches Date: Thu, 9 Feb 2012 11:17:23 +0000 (+0000) Subject: drivers/net: Remove boolean comparisons to true/false X-Git-Tag: v3.4-rc1~177^2~327 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23677ce3172fcb93522a1df077d21019e73ee1e3;p=pandora-kernel.git drivers/net: Remove boolean comparisons to true/false 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 Reviewed-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed