Skip to content

Commit

Permalink
firmware: qcom: scm: Remove redundant scm argument from qcom_scm_wait…
Browse files Browse the repository at this point in the history
…q_wakeup()

Remove redundant scm argument from qcom_scm_waitq_wakeup().

Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/1711034642-22860-2-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  • Loading branch information
Mukesh Ojha authored and Bjorn Andersson committed Apr 21, 2024
1 parent 3de990f commit 000636d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/firmware/qcom/qcom_scm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ int qcom_scm_wait_for_wq_completion(u32 wq_ctx)
return 0;
}

static int qcom_scm_waitq_wakeup(struct qcom_scm *scm, unsigned int wq_ctx)
static int qcom_scm_waitq_wakeup(unsigned int wq_ctx)
{
int ret;

Expand Down Expand Up @@ -1803,7 +1803,7 @@ static irqreturn_t qcom_scm_irq_handler(int irq, void *data)
goto out;
}

ret = qcom_scm_waitq_wakeup(scm, wq_ctx);
ret = qcom_scm_waitq_wakeup(wq_ctx);
if (ret)
goto out;
} while (more_pending);
Expand Down

0 comments on commit 000636d

Please sign in to comment.