diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-04-20 12:35:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-20 14:32:53 +0300 |
commit | ee13ea33e066507a374a0d091034f1150e9d0c07 (patch) | |
tree | bd163cf1c88daef404c6dcdb3bc0bd7b3f06ff19 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5c7e105cd156fc9adf5294a83623d7a40c15f9b9 (diff) | |
download | linux-ee13ea33e066507a374a0d091034f1150e9d0c07.tar.xz |
tty: synclink_gt: don't allocate and pass dummy flags
In synclinc_gt, the flag_buf is allocated, zeroed and passed to ldisc's
receive_buf(). It is never written to, so it serves as a dummy buffer.
That's unneeded because all ldiscs accept NULL as flags. That NULL
resolves to the TTY_NORMAL flag.
So drop all this nonsense.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230420093530.13133-1-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions