projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e66e13a
)
genksyms: remove useless case DOTS
author
Masahiro Yamada
<masahiroy@kernel.org>
Fri, 15 Jan 2021 23:43:04 +0000
(08:43 +0900)
committer
Masahiro 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
patch
|
blob
|
blame
|
history
diff --git
a/scripts/genksyms/lex.l
b/scripts/genksyms/lex.l
index 9cb075cf6a3421b40fe18aea4ab4611f0a167b72..a4d7495eaf75ee26e1ef7c54ac2aab98199ff91d 100644
(file)
--- a/
scripts/genksyms/lex.l
+++ b/
scripts/genksyms/lex.l
@@
-234,7
+234,6
@@
repeat:
lexstate = ST_EXPRESSION;
break;
- case DOTS:
default:
APP;
break;