Skip to content

Commit ae9162e

Browse files
committed
Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"
This reverts commit 327953e. You cannot use 'boolean' since commit b92d804 ("kconfig: drop 'boolean' keyword"). This check is no longer needed. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Joe Perches <[email protected]>
1 parent 2cea4a7 commit ae9162e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/checkpatch.pl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3390,13 +3390,6 @@ sub process {
33903390
}
33913391
}
33923392

3393-
# discourage the use of boolean for type definition attributes of Kconfig options
3394-
if ($realfile =~ /Kconfig/ &&
3395-
$line =~ /^\+\s*\bboolean\b/) {
3396-
WARN("CONFIG_TYPE_BOOLEAN",
3397-
"Use of boolean is deprecated, please use bool instead.\n" . $herecurr);
3398-
}
3399-
34003393
if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
34013394
($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) {
34023395
my $flag = $1;

0 commit comments

Comments
 (0)