aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorYuesong Li <liyuesong@vivo.com>2024-08-23 14:55:46 +0800
committerBjorn Andersson <andersson@kernel.org>2024-11-15 20:36:27 -0800
commit44024ebf25918efb8c771e1b496250bc9c4ef893 (patch)
tree03e92167d47b698785edaab658912509b992c30e
parentremoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region (diff)
downloadwireguard-linux-44024ebf25918efb8c771e1b496250bc9c4ef893.tar.xz
wireguard-linux-44024ebf25918efb8c771e1b496250bc9c4ef893.zip
remoteproc: qcom: wcss: Remove double assignment in q6v5_wcss_probe()
cocci report a double assignment warning.'wcss->version' was assigned twice in 'q6v5_wcss_probe()'. Signed-off-by: Yuesong Li <liyuesong@vivo.com> Link: https://lore.kernel.org/r/20240823065546.3371378-1-liyuesong@vivo.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--drivers/remoteproc/qcom_q6v5_wcss.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_wcss.c b/drivers/remoteproc/qcom_q6v5_wcss.c
index 93ddff437bf8..93648734a2f2 100644
--- a/drivers/remoteproc/qcom_q6v5_wcss.c
+++ b/drivers/remoteproc/qcom_q6v5_wcss.c
@@ -989,7 +989,6 @@ static int q6v5_wcss_probe(struct platform_device *pdev)
wcss = rproc->priv;
wcss->dev = &pdev->dev;
- wcss->version = desc->version;
wcss->version = desc->version;
wcss->requires_force_stop = desc->requires_force_stop;