Skip to content

Commit

Permalink
remoteproc: qcom: wcss: Remove double assignment in q6v5_wcss_probe()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yuesong Li authored and Bjorn Andersson committed Nov 16, 2024
1 parent 7b22b77 commit 44024eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/remoteproc/qcom_q6v5_wcss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 44024eb

Please sign in to comment.