Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Stephan Gerhold and committed by
Bjorn Andersson
1ae4e2db 14296496

+1 -1
+1 -1
drivers/remoteproc/qcom_q6v5_pas.c
··· 227 227 pas->firmware = fw; 228 228 229 229 if (pas->lite_pas_id) 230 - ret = qcom_scm_pas_shutdown(pas->lite_pas_id); 230 + qcom_scm_pas_shutdown(pas->lite_pas_id); 231 231 if (pas->lite_dtb_pas_id) 232 232 qcom_scm_pas_shutdown(pas->lite_dtb_pas_id); 233 233