]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware: qcom: scm: Remove redundant scm argument from qcom_scm_waitq_wakeup()
authorMukesh Ojha <quic_mojha@quicinc.com>
Thu, 21 Mar 2024 15:24:00 +0000 (20:54 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 21 Apr 2024 17:08:01 +0000 (12:08 -0500)
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>
drivers/firmware/qcom/qcom_scm.c

index 137bda5a0a6389195203f8890f905cda47b28bb4..d32fae53be1cb03e4095c1dcef3bbcd92d51f8dc 100644 (file)
@@ -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;
 
@@ -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);