From: Stephan Gerhold Date: Wed, 20 Aug 2025 16:02:36 +0000 (+0200) Subject: remoteproc: qcom: pas: Drop redundant assignment to ret X-Git-Tag: v6.18-rc1~80^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae4e2dbf4cbf7c1ab2bdc89af1dc1a6af4106b3;p=thirdparty%2Fkernel%2Fstable.git remoteproc: qcom: pas: Drop redundant assignment to ret 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 Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20250820-rproc-qcom-q6v5-fixes-v2-4-910b1a3aff71@linaro.org Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index 2799e71918767..e6fc1a6e3d9ec 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -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);