linux-2.6.18/xencons: drop pre-2.6 relics
PATCH 1/1 linux-2.6.18/xencons: drop pre-2.6 relics
Allocating/reserving the termios pointer arrays may have been needed in 2.4.x or 2.5.x, but even 2.6.0 didn't require this anymore.
Signed-off-by Jan Beulich <[email protected]>
drivers/xen/console/console.c +0 -4
@@ -350,8 +350,6 @@ void __init dom0_init_screen_info(const#define DUMMY_TTY (_tty) ((xc_mode == XC_TTY) && \ ((_tty)->index != (xc_num - 1))) -static struct termios *xencons_termios[MAX_NR_CONSOLES ]; -static struct termios *xencons_termios_locked[MAX_NR_CONSOLES ];static struct tty_struct *xencons_tty;static int xencons_priv_irq;static char x_char;
@@ -686,8 +684,6 @@ static int __init xencons_init(void)DRV (xencons_driver)->flags =TTY_DRIVER_REAL_RAW |TTY_DRIVER_RESET_TERMIOS ; -DRV (xencons_driver)->termios = xencons_termios; -DRV (xencons_driver)->termios_locked = xencons_termios_locked;switch (xc_mode) {case XC_XVC :
xencons: drop pre-2.6 relics
Allocating/reserving the termios pointer arrays may have been needed in 2.4.x or 2.5.x, but even 2.6.0 didn't require this anymore.
Signed-off-by Jan Beulich <[email protected]>
drivers/xen/console/console.c +0 -4
@@ -350,8 +350,6 @@ void __init dom0_init_screen_info(const#define DUMMY_TTY (_tty) ((xc_mode == XC_TTY) && \ ((_tty)->index != (xc_num - 1))) -static struct termios *xencons_termios[MAX_NR_CONSOLES ]; -static struct termios *xencons_termios_locked[MAX_NR_CONSOLES ];static struct tty_struct *xencons_tty;static int xencons_priv_irq;static char x_char;
@@ -686,8 +684,6 @@ static int __init xencons_init(void)DRV (xencons_driver)->flags =TTY_DRIVER_REAL_RAW |TTY_DRIVER_RESET_TERMIOS ; -DRV (xencons_driver)->termios = xencons_termios; -DRV (xencons_driver)->termios_locked = xencons_termios_locked;switch (xc_mode) {case XC_XVC :
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel