]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tty: Allow unreadable mess to be > 80 chars
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 04:36:14 +0000 (20:36 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 22:13:44 +0000 (14:13 -0800)
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_port.c

index 846ed481c24fecec26bb4871589a9288792135be..a76aec2ca480aae5274fa9aba04c9ac565dfb3b7 100644 (file)
@@ -510,10 +510,8 @@ void tty_port_close_end(struct tty_port *port, struct tty_struct *tty)
 
        if (port->blocked_open) {
                spin_unlock_irqrestore(&port->lock, flags);
-               if (port->close_delay) {
-                       msleep_interruptible(
-                               jiffies_to_msecs(port->close_delay));
-               }
+               if (port->close_delay)
+                       msleep_interruptible(jiffies_to_msecs(port->close_delay));
                spin_lock_irqsave(&port->lock, flags);
                wake_up_interruptible(&port->open_wait);
        }