commit | 5e28cca1539f3532cb2392710655cd3e562cee8b | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Fri Jan 16 15:05:36 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Feb 02 10:11:26 2015 -0800 |
tree | d37777b70cbdb5483cc413b84d52d43a92eef7a7 | |
parent | a342846f9b0448996f56ebece80454d41b431ce2 [diff] |
n_tty: Simplify throttle threshold calculation The adjustments performed by receive_room() are to ensure a line termination can always be written to the read buffer. However, these adjustments are irrelevant to the throttle threshold (because the threshold < buffer limit). Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>