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 9cb075cf6a3421b40fe18aea4ab4611f0a167b72..a4d7495eaf75ee26e1ef7c54ac2aab98199ff91d 100644 (file)
@@ -234,7 +234,6 @@ repeat:
          lexstate = ST_EXPRESSION;
          break;
 
-       case DOTS:
        default:
          APP;
          break;