]> git.karo-electronics.de Git - linux-beck.git/commit
Coccinelle: Add misc/boolconv.cocci
authorAndrew F. Davis <afd@ti.com>
Mon, 17 Oct 2016 16:52:24 +0000 (11:52 -0500)
committerMichal Marek <mmarek@suse.com>
Sun, 11 Dec 2016 11:07:00 +0000 (12:07 +0100)
commit75238b9e6aadca6d9255d4b385e026385e78bb15
treeb70aba337eaa03d0c0258280c8e5ce37637cb06a
parent1001354ca34179f3db924eb66672442a173147dc
Coccinelle: Add misc/boolconv.cocci

Add a script to check for unneeded conversions to bool.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/coccinelle/misc/boolconv.cocci [new file with mode: 0644]