tty: Fold pty pair handling into tty_flush_works()
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 17:12:57 +0000 (12:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 02:42:46 +0000 (18:42 -0800)
commit949aa64ff90d9a9b3aae13bb5a8247614adf4600
tree5243a1441d1b124d2162dd8bff5af80bfd1ec781
parent324c1650ca2d6c1325afbb53d1187e63bbeaad0b
tty: Fold pty pair handling into tty_flush_works()

Perform work flush for both ends of a pty pair within tty_flush_works(),
rather than calling twice.

Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c