summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGovindraj.R <govindraj.raja@ti.com>2011-04-18 20:27:35 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-19 16:33:37 -0700
commite9a470f445271eb157ee860a93b062324402fc3a (patch)
tree63734b8bf283bf4da8999bb1e94a0168275d78a2 /drivers
parentf8df13e0a901fe55631fed66562369b4dba40f8b (diff)
downloadop-kernel-dev-e9a470f445271eb157ee860a93b062324402fc3a.zip
op-kernel-dev-e9a470f445271eb157ee860a93b062324402fc3a.tar.gz
Serial: Remove unused code.
Remove stale code in serial_core layer. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Govindraj.R <govindraj.raja@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/serial_core.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 1d7aedc..55965d5 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -1242,17 +1242,6 @@ static void uart_set_termios(struct tty_struct *tty,
}
spin_unlock_irqrestore(&state->uart_port->lock, flags);
}
-#if 0
- /*
- * No need to wake up processes in open wait, since they
- * sample the CLOCAL flag once, and don't recheck it.
- * XXX It's not clear whether the current behavior is correct
- * or not. Hence, this may change.....
- */
- if (!(old_termios->c_cflag & CLOCAL) &&
- (tty->termios->c_cflag & CLOCAL))
- wake_up_interruptible(&state->uart_port.open_wait);
-#endif
}
/*
OpenPOWER on IntegriCloud