diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-04-20 11:35:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 13:32:51 +0200 |
commit | 5c7e105cd156fc9adf5294a83623d7a40c15f9b9 (patch) | |
tree | 92932c0be88a8b509e802024dc7f1a5f12f9710d /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 254d5a59464eea1324353d84c0f614c413e8e54f (diff) |
tty: serial: simplify qcom_geni_serial_send_chunk_fifo()
* use memcpy() instead of the loop (removes c variable)
* use remaining parameter directly (removes chunk variable)
The code is simpler and easier to follow.
Cc: Andy Gross <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Konrad Dybcio <[email protected]>
Cc: [email protected]
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/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions