Commit b290af68 authored by Adam Borowski's avatar Adam Borowski Committed by Greg Kroah-Hartman

vt: drop an useless enum and assignment.

Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd2fe272
...@@ -1590,7 +1590,7 @@ static void restore_cur(struct vc_data *vc) ...@@ -1590,7 +1590,7 @@ static void restore_cur(struct vc_data *vc)
vc->vc_need_wrap = 0; vc->vc_need_wrap = 0;
} }
enum { ESnormal, ESesc, ESsquare, ESgetpars, ESgotpars, ESfunckey, enum { ESnormal, ESesc, ESsquare, ESgetpars, ESfunckey,
EShash, ESsetG0, ESsetG1, ESpercent, ESignore, ESnonstd, EShash, ESsetG0, ESsetG1, ESpercent, ESignore, ESnonstd,
ESpalette }; ESpalette };
...@@ -1807,9 +1807,7 @@ static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c) ...@@ -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] *= 10;
vc->vc_par[vc->vc_npar] += c - '0'; vc->vc_par[vc->vc_npar] += c - '0';
return; return;
} else }
vc->vc_state = ESgotpars;
case ESgotpars:
vc->vc_state = ESnormal; vc->vc_state = ESnormal;
switch(c) { switch(c) {
case 'h': case 'h':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment