diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-01-26 20:15:40 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-01-28 05:28:58 +0100 |
commit | ae9162e2be767240065b2f16c3061fc0a3622f61 (patch) | |
tree | 9d15375a0a8e1fccc3fb6c2f4a451fe10e080cca /scripts/checkpatch.pl | |
parent | scripts: use pkg-config to locate libcrypto (diff) | |
download | linux-ae9162e2be767240065b2f16c3061fc0a3622f61.tar.xz linux-ae9162e2be767240065b2f16c3061fc0a3622f61.zip |
Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"
This reverts commit 327953e9af6c59ad111b28359e59e3ec0cbd71b6.
You cannot use 'boolean' since commit b92d804a5179 ("kconfig: drop
'boolean' keyword").
This check is no longer needed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 92e888ed939f..1afe3af1cc09 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3390,13 +3390,6 @@ sub process { } } -# discourage the use of boolean for type definition attributes of Kconfig options - if ($realfile =~ /Kconfig/ && - $line =~ /^\+\s*\bboolean\b/) { - WARN("CONFIG_TYPE_BOOLEAN", - "Use of boolean is deprecated, please use bool instead.\n" . $herecurr); - } - if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) && ($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) { my $flag = $1; |