OSDN Git Service

tty: jsm_tty, make char+error handling readable
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:21:51 +0000 (07:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:07 +0000 (09:34 +0100)
commitdf11abeb2e6007c11c611f66ae564ab52775fb24
tree399fdc3b0699a49a59e5c542e1fb26902a97e48c
parent2daedb1d1e453da14819d13e11bcd33b8cf85fa9
tty: jsm_tty, make char+error handling readable

The code for char+error handling in jsm_input was complete mess of
letters. Introduce 3 new local variables and use them with care.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-21-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_tty.c