提交 f5c2758f 编写于 作者: J Jaehoon Chung 提交者: Chris Ball

mmc: core: fix indentation

This patch fixes incorrect indentation.  (Just code cleanup)
Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 7a81902f
...@@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host, ...@@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
mmc_pre_req(host, areq->mrq, !host->areq); mmc_pre_req(host, areq->mrq, !host->areq);
if (host->areq) { if (host->areq) {
err = mmc_wait_for_data_req_done(host, host->areq->mrq, err = mmc_wait_for_data_req_done(host, host->areq->mrq, areq);
areq); if (err == MMC_BLK_NEW_REQUEST) {
if (err == MMC_BLK_NEW_REQUEST) { if (error)
if (error) *error = err;
*error = err; /*
/* * The previous request was not completed,
* The previous request was not completed, * nothing to return
* nothing to return */
*/ return NULL;
return NULL; }
}
/* /*
* Check BKOPS urgency for each R1 response * Check BKOPS urgency for each R1 response
*/ */
...@@ -545,7 +544,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host, ...@@ -545,7 +544,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
/* Cancel a prepared request if it was not started. */ /* Cancel a prepared request if it was not started. */
if ((err || start_err) && areq) if ((err || start_err) && areq)
mmc_post_req(host, areq->mrq, -EINVAL); mmc_post_req(host, areq->mrq, -EINVAL);
if (err) if (err)
host->areq = NULL; host->areq = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册