diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-10-10 16:00:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 21:11:29 -0700 |
commit | 9b9ab1b3f0860138681862cf6e4c48be59377ef1 (patch) | |
tree | 5dcd70bcb2ab9a42db39a5c7d5311f08795d4a89 /include/linux/n_r3964.h | |
parent | cc2aaabfd6d6335e2156781ca67715b4de17f993 (diff) |
tty: r3964: Use tty->read_wait waitqueue
The tty core provides read_wait waitqueue specifically for line
disciplines to wait readers; otherwise, the line discipline may
miss wakeups generated by the tty core.
NB: The tty core already provides serialization for the line discipline's
close() method, and guarantees no readers or writers will be using the
closing instance of the line discipline. Completely remove that wakeup.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/n_r3964.h')
-rw-r--r-- | include/linux/n_r3964.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/n_r3964.h b/include/linux/n_r3964.h index 5d0b2a1dee69..e9adb4226224 100644 --- a/include/linux/n_r3964.h +++ b/include/linux/n_r3964.h @@ -152,9 +152,6 @@ struct r3964_info { unsigned char *rx_buf; /* ring buffer */ unsigned char *tx_buf; - wait_queue_head_t read_wait; - //struct wait_queue *read_wait; - struct r3964_block_header *rx_first; struct r3964_block_header *rx_last; struct r3964_block_header *tx_first; |