diff options
-rw-r--r-- | drivers/tty/serial/serial_core.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 1d7aedca05b5..55965d5b8143 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, | |||
1242 | } | 1242 | } |
1243 | spin_unlock_irqrestore(&state->uart_port->lock, flags); | 1243 | spin_unlock_irqrestore(&state->uart_port->lock, flags); |
1244 | } | 1244 | } |
1245 | #if 0 | ||
1246 | /* | ||
1247 | * No need to wake up processes in open wait, since they | ||
1248 | * sample the CLOCAL flag once, and don't recheck it. | ||
1249 | * XXX It's not clear whether the current behavior is correct | ||
1250 | * or not. Hence, this may change..... | ||
1251 | */ | ||
1252 | if (!(old_termios->c_cflag & CLOCAL) && | ||
1253 | (tty->termios->c_cflag & CLOCAL)) | ||
1254 | wake_up_interruptible(&state->uart_port.open_wait); | ||
1255 | #endif | ||
1256 | } | 1245 | } |
1257 | 1246 | ||
1258 | /* | 1247 | /* |