Commit 2ce1faff authored by Jiri Slaby (SUSE)'s avatar Jiri Slaby (SUSE) Committed by Praveen Talari
Browse files

UPSTREAM: 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: default avatarJiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230420093514.13055-1-jirislaby@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 370629635
Bug: 375550406
Change-Id: I297af26a5d1eeac9d1886582a09d917efce6a7bf
(cherry picked from commit 5c7e105c)
Signed-off-by: default avatarPraveen Talari <quic_ptalari@quicinc.com>
(cherry picked from commit 26e3cb0efab5ecb9c2a803a72a947926a14bb185)
parent c7634a3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment