aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-02-10 04:44:42 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 13:51:25 -0500
commitdd65aa6690e30fdad84a62191c7ab37da89d9865 (patch)
tree94fac4784ecf29192b353a828197daa83ad89474
parent780a065668b1c6ca6a70c7d36b9f6552ea3bb5f5 (diff)
[PATCH] Char: 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 Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/char/tty_io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index c57b1f434652..305e46db70e4 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -1612,7 +1612,6 @@ void start_tty(struct tty_struct *tty)
1612 1612
1613 /* If we have a running line discipline it may need kicking */ 1613 /* If we have a running line discipline it may need kicking */
1614 tty_wakeup(tty); 1614 tty_wakeup(tty);
1615 wake_up_interruptible(&tty->write_wait);
1616} 1615}
1617 1616
1618EXPORT_SYMBOL(start_tty); 1617EXPORT_SYMBOL(start_tty);