]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf43cd44e28c2a525aca25b7aeb04946f8ab46447
treefa732de61969c8f4de4efb503b0c0e9222f47670
parentbe69f5f5a71f67f266e5532051b7d40db057ebed
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