summaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley2015-10-10 22:00:54 +0200
committerGreg Kroah-Hartman2015-10-18 06:11:29 +0200
commitcc2aaabfd6d6335e2156781ca67715b4de17f993 (patch)
treeabbecf796995365df77b22f307b2e3ac6a026066 /include/linux/tty.h
parentusb: gadget: gserial: Privatize close_wait (diff)
downloadkernel-qcow2-linux-cc2aaabfd6d6335e2156781ca67715b4de17f993.tar.gz
kernel-qcow2-linux-cc2aaabfd6d6335e2156781ca67715b4de17f993.tar.xz
kernel-qcow2-linux-cc2aaabfd6d6335e2156781ca67715b4de17f993.zip
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 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 614c8224c32f..090ce2a52262 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -227,7 +227,6 @@ struct tty_port {
int blocked_open; /* Waiting to open */
int count; /* Usage count */
wait_queue_head_t open_wait; /* Open waiters */
- wait_queue_head_t close_wait; /* Close waiters */
wait_queue_head_t delta_msr_wait; /* Modem status change */
unsigned long flags; /* TTY flags ASY_*/
unsigned char console:1, /* port is a console */