From: Peter Hurley Date: Fri, 16 Jan 2015 20:05:36 +0000 (-0500) Subject: n_tty: Simplify throttle threshold calculation X-Git-Tag: fixes-v4.0-rc1~98^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e28cca1539f3532cb2392710655cd3e562cee8b;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed