From: Peter Hurley Date: Mon, 11 Jan 2016 04:36:14 +0000 (-0800) Subject: tty: Allow unreadable mess to be > 80 chars X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5823323ea5ed41ea08ef0a36013369d0c65a23de;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tty: Allow unreadable mess to be > 80 chars Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c index 846ed481c24f..a76aec2ca480 100644 --- a/drivers/tty/tty_port.c +++ b/drivers/tty/tty_port.c @@ -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); }