n_tty: Factor standard per-char i/o into separate fn
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 24 Jul 2013 12:29:49 +0000 (08:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 16:26:51 +0000 (09:26 -0700)
commit7d88d637a3c75257b7611f9feee0c17fa187ecc9
treefa732de61969c8f4de4efb503b0c0e9222f47670
parent86e35aea477f4cc5a724d8704f5e9d956c73d424
n_tty: Factor standard per-char i/o into separate fn

Simplify __receive_buf() into a dispatch function; perform per-char
processing for all other modes not already handled.

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