From dc7a3c5c60f4b53dcb74babaf360208354f33638 Mon Sep 17 00:00:00 2001 From: "Govindraj.R" Date: Mon, 18 Apr 2011 20:27:35 +0530 Subject: [PATCH] --- yaml --- r: 248665 b: refs/heads/master c: e9a470f445271eb157ee860a93b062324402fc3a h: refs/heads/master i: 248663: f33c1211134224afbddfcf31f51e7caa46044f2c v: v3 --- [refs] | 2 +- trunk/drivers/tty/serial/serial_core.c | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 757506eba261..2a2add9edbe3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f8df13e0a901fe55631fed66562369b4dba40f8b +refs/heads/master: e9a470f445271eb157ee860a93b062324402fc3a diff --git a/trunk/drivers/tty/serial/serial_core.c b/trunk/drivers/tty/serial/serial_core.c index 1d7aedca05b5..55965d5b8143 100644 --- a/trunk/drivers/tty/serial/serial_core.c +++ b/trunk/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 } /*