mxser: extract mxser_receive_chars_new
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:21 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:09:59 +0000 (13:09 +0200)
commite5ce1bcedac6875ce9d1ff4bafdf150a899a5694
tree924c562ace24955cb0801b1c8e10c9f1242dd4cb
parent9cb5c9c3226ba78e33169721f31b459e6791d6ab
mxser: extract mxser_receive_chars_new

Extract the new handling of receive chars (using the MUST chip
enhancements) into a separate function. This eliminates the need for the
intr_old label and makes the code of mxser_receive_chars more compact.
In the next step, we will extract the old handling too.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-16-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c