]> Git Repo - linux.git/commit - drivers/tty/n_tty.c
n_tty: Simplify throttle threshold calculation
authorPeter Hurley <[email protected]>
Fri, 16 Jan 2015 20:05:36 +0000 (15:05 -0500)
committerGreg Kroah-Hartman <[email protected]>
Mon, 2 Feb 2015 18:11:26 +0000 (10:11 -0800)
commit5e28cca1539f3532cb2392710655cd3e562cee8b
treed37777b70cbdb5483cc413b84d52d43a92eef7a7
parenta342846f9b0448996f56ebece80454d41b431ce2
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/n_tty.c
This page took 0.07891 seconds and 4 git commands to generate.