summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2022-01-14 16:32:59 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-03-12 18:04:37 +0300
commitdb64e7e74bd2abeae58ff65bdf41305f04a60fa1 (patch)
tree0c68995cf0bcc142756c478a8d9977839f2972a3 /include
parent18fc82d6e899be54fcf43b28e588e28f09c8810f (diff)
downloadlinux-db64e7e74bd2abeae58ff65bdf41305f04a60fa1.tar.xz
rpmsg: qcom_smd: Fix redundant channel->registered assignment
In qcom_channel_state_worker(), we are setting channel->registered to true when registering a channel, but this is getting repeated both before and after re-locking the channels_lock spinlock, which is obviously a typo. Remove the assignment done out of the spinlock to fix this redundancy. Fixes: 53e2822e56c7 ("rpmsg: Introduce Qualcomm SMD backend") Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220114133259.247726-1-angelogioacchino.delregno@collabora.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions