aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSibi Sankar <[email protected]>2020-06-02 22:02:57 +0530
committerBjorn Andersson <[email protected]>2020-07-27 23:22:22 -0700
commit42a51c7504945caa08ee73faff3862e740c094e1 (patch)
treed45685831832f0ba36564077ac37ce48679f2232
parent5b7be880074c73540948f8fc597e0407b98fabfa (diff)
remoteproc: qcom_q6v5_mss: Remove redundant running state
Remove the redundant running state, as an equivalent is maintained in the common q6v5 resource handling helpers. Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Evan Green <[email protected]> Signed-off-by: Sibi Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
-rw-r--r--drivers/remoteproc/qcom_q6v5_mss.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c
index a720c0adb3b6..ae3739082fdd 100644
--- a/drivers/remoteproc/qcom_q6v5_mss.c
+++ b/drivers/remoteproc/qcom_q6v5_mss.c
@@ -181,8 +181,6 @@ struct q6v5 {
int active_reg_count;
int proxy_reg_count;
- bool running;
-
bool dump_mba_loaded;
size_t current_dump_size;
size_t total_dump_size;
@@ -1333,7 +1331,6 @@ static int q6v5_start(struct rproc *rproc)
/* Reset Dump Segment Mask */
qproc->current_dump_size = 0;
- qproc->running = true;
return 0;
@@ -1349,8 +1346,6 @@ static int q6v5_stop(struct rproc *rproc)
struct q6v5 *qproc = (struct q6v5 *)rproc->priv;
int ret;
- qproc->running = false;
-
ret = qcom_q6v5_request_stop(&qproc->q6v5);
if (ret == -ETIMEDOUT)
dev_err(qproc->dev, "timed out on wait\n");