]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/crisv10.c
tty: simplify ktermios allocation
[linux-2.6-omap-h63xx.git] / drivers / serial / crisv10.c
index a467c77d8a13077109ebc895ce7ea9c2a077bd32..211c21797ce016ef8646a8c04a32f5affd35ed17 100644 (file)
@@ -457,7 +457,6 @@ static struct e100_serial rs_table[] = {
 #define NR_PORTS (sizeof(rs_table)/sizeof(struct e100_serial))
 
 static struct ktermios *serial_termios[NR_PORTS];
-static struct ktermios *serial_termios_locked[NR_PORTS];
 #ifdef CONFIG_ETRAX_SERIAL_FAST_TIMER
 static struct fast_timer fast_timers[NR_PORTS];
 #endif
@@ -4448,8 +4447,6 @@ rs_init(void)
        driver->init_termios.c_ispeed = 115200;
        driver->init_termios.c_ospeed = 115200;
        driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
-       driver->termios = serial_termios;
-       driver->termios_locked = serial_termios_locked;
 
        tty_set_operations(driver, &rs_ops);
         serial_driver = driver;