n_tty: Don't wait for buffer work in read() loop
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:29 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:02 +0000 (16:43 -0700)
commitf95499c3030fe1bfad57745f2db1959c5b43dca8
tree0cb875c59a1fe4f13107660bc576c6e801335a5e
parentd1913e3916f35eb043e8d770839dd96c1379007d
n_tty: Don't wait for buffer work in read() loop

User-space read() can run concurrently with receiving from device;
waiting for receive_buf() to complete is not required.

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