summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-11 12:00:47 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-12 16:16:23 +0100
commitbe3c8075978a420b6eae944250bf336aa11d4964 (patch)
treec386257bbf3d8c919c31985a20dc7f585be4bd43 /scripts
parentkconfig: require T_EOL to reduce visible statement (diff)
downloadlinux-be3c8075978a420b6eae944250bf336aa11d4964.tar.xz
linux-be3c8075978a420b6eae944250bf336aa11d4964.zip
kconfig: remove unneeded pattern matching to whitespaces
Whitespaces are consumed in the COMMAND state anyway. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/zconf.l6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index c2f577d71964..709b774f2404 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -88,12 +88,6 @@ n [A-Za-z0-9_-]
return T_EOL;
}
[ \t]*#.*
-
-
-[ \t]+ {
- BEGIN(COMMAND);
-}
-
. {
unput(yytext[0]);
BEGIN(COMMAND);