diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-08-27 09:41:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-27 11:46:52 +0200 |
commit | 008304079da79ab8dd122fe9e581494d10c0a3cc (patch) | |
tree | e3469b824e86051424bee81e900117d9c8c42fe0 /tools/perf/util/trace-event-scripting.c | |
parent | 102dc8aac8d04be7ec6ee030962f7a40dc6d9731 (diff) |
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)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions