diff options
author | 2023-08-27 09:41:41 +0200 | |
---|---|---|
committer | 2023-08-27 11:46:52 +0200 | |
commit | 008304079da79ab8dd122fe9e581494d10c0a3cc (patch) | |
tree | e3469b824e86051424bee81e900117d9c8c42fe0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: n_tty: move canon handling to a separate function (diff) | |
download | wireguard-linux-008304079da79ab8dd122fe9e581494d10c0a3cc.tar.xz wireguard-linux-008304079da79ab8dd122fe9e581494d10c0a3cc.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions