aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-06-15 10:04:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 17:02:22 -0700
commit29c7c5ca36d9c132cf9c37a09bc43626e790fb4c (patch)
tree83062c0fa9301be49efcb2c0db157372c0ad8602 /include/linux/tty.h
parentn_tty: Only flush echo output if actually output (diff)
downloadlinux-dev-29c7c5ca36d9c132cf9c37a09bc43626e790fb4c.tar.xz
linux-dev-29c7c5ca36d9c132cf9c37a09bc43626e790fb4c.zip
n_tty: Eliminate counter in __process_echoes
Since neither echo_commit nor echo_tail can change for the duration of __process_echoes loop, substitute index comparison for the snapshot counter. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions