commit | ffb91a459c6cacb10972f5dff893fb1292bac85d | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Jan 09 21:45:13 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 28 11:58:02 2016 -0800 |
tree | 663966919757c58a0f737ad50f98594f7d93b081 | |
parent | 7bccc36544a8b4a7d768f8ccdd6001a52872aca9 [diff] |
n_tty: Remove tty count checks from unthrottle Since n_tty_check_unthrottle() is only called from n_tty_read() which only originates from a userspace read(), the tty count cannot be 0; the read() guarantees the file descriptor has not yet been released. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>