Commit ae9162e2 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"



This reverts commit 327953e9.

You cannot use 'boolean' since commit b92d804a ("kconfig: drop
'boolean' keyword").

This check is no longer needed.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Acked-by: default avatarJoe Perches <joe@perches.com>
parent 2cea4a7a
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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;