[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


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
  • Date: Wed, 30 Jan 2013 09:33:02 +0000
  • Delivery-date: Wed, 30 Jan 2013 09:33:19 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# 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


 


Rackspace

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