Skip to content

Commit 1ae4e2d

Browse files
stephan-ghandersson
authored andcommitted
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 <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 1429649 commit 1ae4e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/remoteproc/qcom_q6v5_pas.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static int qcom_pas_load(struct rproc *rproc, const struct firmware *fw)
227227
pas->firmware = fw;
228228

229229
if (pas->lite_pas_id)
230-
ret = qcom_scm_pas_shutdown(pas->lite_pas_id);
230+
qcom_scm_pas_shutdown(pas->lite_pas_id);
231231
if (pas->lite_dtb_pas_id)
232232
qcom_scm_pas_shutdown(pas->lite_dtb_pas_id);
233233

0 commit comments

Comments
 (0)