[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] xencons: drop pre-2.6 relics
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1359537724 -3600 # Node ID 008c65d4caed95fb356741e20c20b1d63bca5333 # Parent d207555739095b1e4babed58bda341ffa5271dd4 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 <jbeulich@xxxxxxxx> --- diff -r d20755573909 -r 008c65d4caed drivers/xen/console/console.c --- a/drivers/xen/console/console.c Mon Jan 28 11:55:26 2013 +0100 +++ b/drivers/xen/console/console.c Wed Jan 30 10:22:04 2013 +0100 @@ -347,8 +347,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; @@ -683,8 +681,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-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |