summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-01-16 00:43:04 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-02-16 04:01:45 +0100
commit13940738c2647bac783439a800fd25ead362a110 (patch)
treed1d1ef32704b987f16ddd25e5345d382c39586ac /scripts
parentgenksyms: remove dead code for ST_TABLE_* (diff)
downloadlinux-13940738c2647bac783439a800fd25ead362a110.tar.xz
linux-13940738c2647bac783439a800fd25ead362a110.zip
genksyms: remove useless case DOTS
This switch statement does not list out all the cases. Since the 'default' covers all the rest, the 'DOTS' case is unneeded. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genksyms/lex.l1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l
index 9cb075cf6a34..a4d7495eaf75 100644
--- a/scripts/genksyms/lex.l
+++ b/scripts/genksyms/lex.l
@@ -234,7 +234,6 @@ repeat:
lexstate = ST_EXPRESSION;
break;
- case DOTS:
default:
APP;
break;