diff options
| author | Jiri Slaby <[email protected]> | 2021-05-05 11:18:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 16:57:15 +0200 |
| commit | 1ed2dfedd215def180351697f5b4bcde468c5197 (patch) | |
| tree | 74246e92558e0d15b63852e6e7a3e72fa4a884e3 /tools/perf/scripts/python | |
| parent | 89bb4a3622f99ea736eab185db9b46b4fa4c29c0 (diff) | |
n_tty: drop n_tty_receive_buf_fast
After the previous patches, n_tty_receive_buf_standard and
n_tty_receive_buf_fast differ only in handling of tty line and input
controls. Unlike n_tty_receive_buf_fast, n_tty_receive_buf_standard
handles them all (I_ISTRIP, I_IUCLC, L_IEXTEN, L_EXTPROC, and I_PARMRK).
So remove n_tty_receive_buf_fast and let n_tty_receive_buf_standard do
the handling. Actually most of the tests are only moved from
__receive_buf to n_tty_receive_buf_standard.
Again, the code duplication is not worth the theoretical speedup.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions