vt: drop an useless enum and assignment.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Adam Borowski 2014-02-19 01:40:16 +01:00 committed by Greg Kroah-Hartman
parent bd2fe272a8
commit b290af68de
1 changed files with 2 additions and 4 deletions

View File

@ -1590,7 +1590,7 @@ static void restore_cur(struct vc_data *vc)
vc->vc_need_wrap = 0;
}
enum { ESnormal, ESesc, ESsquare, ESgetpars, ESgotpars, ESfunckey,
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':