Revert "tty: Fix pty master poll() after slave closes v2"
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 30 Dec 2014 12:17:09 +0000 (07:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 21:46:02 +0000 (13:46 -0800)
commit2ce3c10c0c3e0d418c1a7a4c838319ba42c75388
treed1c176d46e945da2ae0f5fbff251828b357897f3
parent86f2c00f1d8e344965cf8df8572ed5f682956995
Revert "tty: Fix pty master poll() after slave closes v2"

This reverts commit c4dc304677e8d566572c4738d95c48be150c6606.
This fix is superseded by commit 52bce7f8d4fc633c9a9d0646eef58ba6ae9a3b73,
'pty, n_tty: Simplify input processing on final close'.

The final close now waits for input processing to complete before
destroying the pty, so poll() does not need to special case this
condition.

Cc: Francesco Ruggeri <fruggeri@arista.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c