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>
This commit is contained in:
Yuesong Li 2024-08-23 14:55:46 +08:00 committed by Bjorn Andersson
parent 7b22b7719f
commit 44024ebf25

View File

@ -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;