Jiri Slaby (SUSE) 008304079d tty: n_tty: move newline handling to a separate function
Currently, n_tty handles the newline in a label in
n_tty_receive_char_canon(). That is invoked from two more places. Split
this code to a separate function and avoid the label in this case.

This makes the code flow more understandable.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230827074147.2287-9-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-27 11:46:52 +02:00
..
2023-08-11 21:12:47 +02:00
2021-10-21 12:35:35 +02:00
2023-08-11 21:12:47 +02:00
2023-08-11 21:12:47 +02:00
2023-08-11 21:12:46 +02:00
2022-09-22 16:12:34 +02:00
2023-08-11 21:12:45 +02:00
2023-08-11 21:12:46 +02:00
2023-08-11 21:12:47 +02:00