[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210115234305.87205-3-masahiroy@kernel.org>
Date: Sat, 16 Jan 2021 08:43:04 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Marco Elver <elver@...gle.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] 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@...nel.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
Powered by blists - more mailing lists