[PATCH 3/3] genksyms: remove useless case DOTS

Masahiro Yamada
2021-01-15T23:44:53Z

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>
---

scripts/genksyms/lex.l | 1 -
1 file changed, 1 deletion(-)

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;
--
2.27.0