]> git.baikalelectronics.ru Git - kernel.git/commit
n_tty: Factor signal char handling into separate fn
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 14:21:23 +0000 (10:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 00:10:17 +0000 (17:10 -0700)
commit61891df651d2742ffb5ec37c84f67f6000b297db
tree085d3700aaadf57660be69fe7a67db487182f9ab
parent28e866fd913102345fa83cd0878dca38eace8cd4
n_tty: Factor signal char handling into separate fn

Reduce the monolithic n_tty_receive_char() complexity; factor the
handling of INTR_CHAR, QUIT_CHAR and SUSP_CHAR into
n_tty_receive_signal_char().

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