diff options
author | Yuesong Li <liyuesong@vivo.com> | 2024-08-23 08:55:46 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-11-16 05:36:27 +0100 |
commit | 44024ebf25918efb8c771e1b496250bc9c4ef893 (patch) | |
tree | 03e92167d47b698785edaab658912509b992c30e /drivers/remoteproc | |
parent | remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region (diff) | |
download | linux-44024ebf25918efb8c771e1b496250bc9c4ef893.tar.xz 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>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/qcom_q6v5_wcss.c | 1 |
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; |