diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-10-10 16:00:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 21:11:29 -0700 |
commit | cc2aaabfd6d6335e2156781ca67715b4de17f993 (patch) | |
tree | abbecf796995365df77b22f307b2e3ac6a026066 /drivers/tty/serial/68328serial.c | |
parent | b140dfe622ca23bad6755ce7cd7de2245ef2b68d (diff) | |
download | op-kernel-dev-cc2aaabfd6d6335e2156781ca67715b4de17f993.zip op-kernel-dev-cc2aaabfd6d6335e2156781ca67715b4de17f993.tar.gz |
tty: Remove tty_port::close_wait
With the removal of tty_wait_until_sent_from_close(), tty drivers
no longer wait during open for parallel closes to complete (instead,
the tty core waits before calling the driver open() method). Thus,
the close_wait waitqueue is no longer used for waiting.
Remove struct tty_port::close_wait.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/68328serial.c')
-rw-r--r-- | drivers/tty/serial/68328serial.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c index 9ba0c93..0140ba4 100644 --- a/drivers/tty/serial/68328serial.c +++ b/drivers/tty/serial/68328serial.c @@ -1071,7 +1071,6 @@ static void rs_close(struct tty_struct *tty, struct file * filp) wake_up_interruptible(&port->open_wait); } port->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CLOSING); - wake_up_interruptible(&port->close_wait); local_irq_restore(flags); } |