diff mbox series

[3/3] genksyms: remove useless case DOTS

Message ID 20210115234305.87205-3-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series [1/3] genksyms: make source_file a local variable in lexer | expand

Commit Message

Masahiro Yamada Jan. 15, 2021, 11:43 p.m. UTC
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 mbox series

Patch

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;