From: Peter Senna Tschudin Date: Sat, 21 Sep 2013 22:27:43 +0000 (+0200) Subject: mwifiex: Change variable type to bool X-Git-Tag: v3.13-rc1~105^2~181^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c856197d6e93907c0493bfecb4eb621318028e26;p=pandora-kernel.git mwifiex: Change variable type to bool The variables cancel_scan_cmd, enable_data, hs_activate and valid are only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by: Peter Senna Tschudin Acked-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed