From: Sibi Sankar Date: Tue, 2 Jun 2020 16:32:57 +0000 (+0530) Subject: remoteproc: qcom_q6v5_mss: Remove redundant running state X-Git-Tag: v5.15~3127^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42a51c7504945caa08ee73faff3862e740c094e1;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Evan Green Signed-off-by: Sibi Sankar Link: https://lore.kernel.org/r/20200602163257.26978-2-sibis@codeaurora.org Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index a720c0a..ae37390 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");