mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] Char: tty, delete wake_up_interruptible after tty_wakeup
@ 2006-12-13 22:01 Jiri Slaby
  0 siblings, 0 replies; only message in thread
From: Jiri Slaby @ 2006-12-13 22:01 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Alan

tty, delete wake_up_interruptible after tty_wakeup

tty_wakeup calls wake_up_interruptible(&tty->write_wait) itself, it's not
needed to wake up again after tty_wakeup returns.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan <alan@lxorguk.ukuu.org.uk>

---
commit 740df2239d699c3deda71f3a7790b10fd06c99f8
tree e4b624bb52a581d431b056a0c695b07de2528b97
parent af8e1f039e2f0b822c5b96551b3363da7371b0b5
author Jiri Slaby <jirislaby@gmail.com> Wed, 13 Dec 2006 22:55:22 +0100
committer Jiri Slaby <jirislaby@gmail.com> Wed, 13 Dec 2006 22:55:22 +0100

 drivers/char/tty_io.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 47a6eac..1974d5a 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -1612,7 +1612,6 @@ void start_tty(struct tty_struct *tty)
 
 	/* If we have a running line discipline it may need kicking */
 	tty_wakeup(tty);
-	wake_up_interruptible(&tty->write_wait);
 }
 
 EXPORT_SYMBOL(start_tty);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-13 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-13 22:01 [PATCH 1/1] Char: tty, delete wake_up_interruptible after tty_wakeup Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®