]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Char: tty, delete wake_up_interruptible after tty_wakeup
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:44:42 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:25 +0000 (10:51 -0800)
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>
drivers/char/tty_io.c

index c57b1f434652ac4be95d8182067c71ba272c2895..305e46db70e48cf5013bbfc14c782834c1bae197 100644 (file)
@@ -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);