projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2fe27
)
vt: drop an useless enum and assignment.
author
Adam Borowski
<kilobyte@angband.pl>
Wed, 19 Feb 2014 00:40:16 +0000
(
01:40
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 00:25:47 +0000
(16:25 -0800)
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/vt/vt.c
b/drivers/tty/vt/vt.c
index 23b5d32954bfc9365ec6453d69e331e975ca8d0e..b7bde54db1389dd0de185b8bf496f80f88437c60 100644
(file)
--- a/
drivers/tty/vt/vt.c
+++ b/
drivers/tty/vt/vt.c
@@
-1590,7
+1590,7
@@
static void restore_cur(struct vc_data *vc)
vc->vc_need_wrap = 0;
}
-enum { ESnormal, ESesc, ESsquare, ESgetpars, ES
gotpars, ES
funckey,
+enum { ESnormal, ESesc, ESsquare, ESgetpars, ESfunckey,
EShash, ESsetG0, ESsetG1, ESpercent, ESignore, ESnonstd,
ESpalette };
@@
-1807,9
+1807,7
@@
static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c)
vc->vc_par[vc->vc_npar] *= 10;
vc->vc_par[vc->vc_npar] += c - '0';
return;
- } else
- vc->vc_state = ESgotpars;
- case ESgotpars:
+ }
vc->vc_state = ESnormal;
switch(c) {
case 'h':