Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1305716 > unrolled thread

[PATCH 7/9] tty: Allow unreadable mess to be > 80 chars

Started byPeter Hurley <peter@hurleysoftware.com>
First post2016-01-10 23:50 +0100
Last post2016-01-10 23:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/9] tty: Allow unreadable mess to be > 80 chars Peter Hurley <peter@hurleysoftware.com> - 2016-01-10 23:50 +0100

#1305716 — [PATCH 7/9] tty: Allow unreadable mess to be > 80 chars

FromPeter Hurley <peter@hurleysoftware.com>
Date2016-01-10 23:50 +0100
Subject[PATCH 7/9] tty: Allow unreadable mess to be > 80 chars
Message-ID<qPwY9-1VJ-3@gated-at.bofh.it>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
---
 drivers/tty/tty_port.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c
index 846ed48..a76aec2 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);
 	}
-- 
2.7.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web