Skip to content

Commit

Permalink
[PATCH] Char: tty, delete wake_up_interruptible after tty_wakeup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jirislaby authored and Linus Torvalds committed Feb 11, 2007
1 parent 780a065 commit dd65aa6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd65aa6

Please sign in to comment.