summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-11 20:00:47 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-13 00:16:23 +0900
commitbe3c8075978a420b6eae944250bf336aa11d4964 (patch)
treec386257bbf3d8c919c31985a20dc7f585be4bd43
parent413cd19d81fd675c6932abf91fe2b54d5ae72c7d (diff)
downloadlinux-be3c8075978a420b6eae944250bf336aa11d4964.tar.bz2
kconfig: remove unneeded pattern matching to whitespaces
Whitespaces are consumed in the COMMAND state anyway. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-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);