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)
commitb0ac50be1f398ae1daedcf1ce71ac6b6409c88d2
tree085d3700aaadf57660be69fe7a67db487182f9ab
parent4a23a4df500f29603ee25995f9c1d3af79f7a994
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