mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
[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>
This commit is contained in:
parent
780a065668
commit
dd65aa6690
1 changed files with 0 additions and 1 deletions
|
@ -1612,7 +1612,6 @@ void start_tty(struct tty_struct *tty)
|
||||||
|
|
||||||
/* If we have a running line discipline it may need kicking */
|
/* If we have a running line discipline it may need kicking */
|
||||||
tty_wakeup(tty);
|
tty_wakeup(tty);
|
||||||
wake_up_interruptible(&tty->write_wait);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(start_tty);
|
EXPORT_SYMBOL(start_tty);
|
||||||
|
|
Loading…
Reference in a new issue