[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] linux-2.6.18/xencons: drop pre-2.6 relics


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxx>
  • From: "Jan Beulich" <JBeulich@xxxxxxxx>
  • Date: Tue, 29 Jan 2013 15:21:45 +0000
  • Delivery-date: Tue, 29 Jan 2013 15:22:10 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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>

--- a/drivers/xen/console/console.c
+++ b/drivers/xen/console/console.c
@@ -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:



Attachment: xen-console-drop-termios.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.