checkpatch.pl: check for #if 0/#if 1
The #if 0 or #if 1 is used to toggle features. Warn if #if 0 or #if 1
is present and suggest that they can be removed.

Based on 60f890105547f7a4 ("checkpatch: check for #if 0/#if 1")
Linux kernel commit.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8327501 commit 151ab20210367e7774f2caff705ad3aac85ade3e
@Antony Pavlov Antony Pavlov authored on 5 Dec 2018
Sascha Hauer committed on 6 Dec 2018
Showing 1 changed file
View
scripts/checkpatch.pl