serial: core: Unwrap >80 char line in uart_close()
The wrapped line looks wrong and out-of-place; leave it as >80 char line. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
352f86187e
Коммит
74866e7593
|
@ -1374,8 +1374,7 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
|
|||
if (port->blocked_open) {
|
||||
spin_unlock_irqrestore(&port->lock, flags);
|
||||
if (port->close_delay)
|
||||
msleep_interruptible(
|
||||
jiffies_to_msecs(port->close_delay));
|
||||
msleep_interruptible(jiffies_to_msecs(port->close_delay));
|
||||
spin_lock_irqsave(&port->lock, flags);
|
||||
} else if (!uart_console(uport)) {
|
||||
spin_unlock_irqrestore(&port->lock, flags);
|
||||
|
|
Загрузка…
Ссылка в новой задаче