diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-04-20 12:35:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-20 14:32:51 +0300 |
commit | 5c7e105cd156fc9adf5294a83623d7a40c15f9b9 (patch) | |
tree | 92932c0be88a8b509e802024dc7f1a5f12f9710d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 254d5a59464eea1324353d84c0f614c413e8e54f (diff) | |
download | linux-5c7e105cd156fc9adf5294a83623d7a40c15f9b9.tar.xz |
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 <agross@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230420093514.13055-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