genksyms: remove useless case DOTS
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 15 Jan 2021 23:43:04 +0000 (08:43 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 16 Feb 2021 03:01:45 +0000 (12:01 +0900)
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

index 9cb075c..a4d7495 100644 (file)
@@ -234,7 +234,6 @@ repeat:
          lexstate = ST_EXPRESSION;
          break;
 
-       case DOTS:
        default:
          APP;
          break;