diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-04-20 11:35:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 13:32:53 +0200 |
commit | ee13ea33e066507a374a0d091034f1150e9d0c07 (patch) | |
tree | bd163cf1c88daef404c6dcdb3bc0bd7b3f06ff19 /tools/perf/scripts/python | |
parent | 5c7e105cd156fc9adf5294a83623d7a40c15f9b9 (diff) |
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) <[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