n_tty: Move chars_in_buffer() to factor throttle/unthrottle
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:32 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:02 +0000 (16:43 -0700)
commit9a4aec2dd5b54606b3508e0e064750f516009650
treec35f7f64f6621ae2aa85982a2373bce71e55b673
parentd8c1f929aa8164cd8eaa830068d2fa3159c0764a
n_tty: Move chars_in_buffer() to factor throttle/unthrottle

Prepare to factor throttle and unthrottle into helper functions;
relocate chars_in_buffer() to avoid forward declaration.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c