]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
remoteproc: qcom: pas: Drop redundant assignment to ret
authorStephan Gerhold <stephan.gerhold@linaro.org>
Wed, 20 Aug 2025 16:02:36 +0000 (18:02 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 22 Sep 2025 13:33:21 +0000 (08:33 -0500)
We don't have a way to detect if the lite firmware is actually running yet,
so we should ignore the return status of qcom_scm_pas_shutdown() for now.
The assignment to "ret" is not used anywhere, so just drop it.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250820-rproc-qcom-q6v5-fixes-v2-4-910b1a3aff71@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_q6v5_pas.c

index 2799e71918767047f181297aafaabae51a733b58..e6fc1a6e3d9eccd78cd69d8e02cc627fc76f1e58 100644 (file)
@@ -227,7 +227,7 @@ static int qcom_pas_load(struct rproc *rproc, const struct firmware *fw)
        pas->firmware = fw;
 
        if (pas->lite_pas_id)
-               ret = qcom_scm_pas_shutdown(pas->lite_pas_id);
+               qcom_scm_pas_shutdown(pas->lite_pas_id);
        if (pas->lite_dtb_pas_id)
                qcom_scm_pas_shutdown(pas->lite_dtb_pas_id);