summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-03 07:58:03 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-03 07:58:03 -0700
commitbb52d80acca8d81e903ceac4f81b0f1db7686677 (patch)
tree433d1e8a853dd359c22bf13a234e14ee3c7655e0
parent2357b8b580b5ba2825fd59478d949a2d19ec1f67 (diff)
parentc77576994e0aab9a9d7197e405fccf54afdeef76 (diff)
Merge "mmc: core: Remove unused variable"
-rw-r--r--drivers/mmc/core/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 2cb0ea03a338..79b5b3504ccd 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1735,7 +1735,6 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
struct mmc_async_req *areq, int *error)
{
int err = 0;
- int start_err = 0;
struct mmc_async_req *data = host->areq;
/* Prepare a new request */
@@ -1784,7 +1783,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
trace_mmc_blk_rw_start(areq->mrq->cmd->opcode,
areq->mrq->cmd->arg,
areq->mrq->data);
- start_err = __mmc_start_data_req(host, areq->mrq);
+ __mmc_start_data_req(host, areq->mrq);
}
if (host->areq)