Skip to content

Commit f5c2758

Browse files
jh80chungcjb
authored andcommitted
mmc: core: fix indentation
This patch fixes incorrect indentation. (Just code cleanup) Signed-off-by: Jaehoon Chung <[email protected]> Signed-off-by: Chris Ball <[email protected]>
1 parent 7a81902 commit f5c2758

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

drivers/mmc/core/core.c

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
516516
mmc_pre_req(host, areq->mrq, !host->areq);
517517

518518
if (host->areq) {
519-
err = mmc_wait_for_data_req_done(host, host->areq->mrq,
520-
areq);
521-
if (err == MMC_BLK_NEW_REQUEST) {
522-
if (error)
523-
*error = err;
524-
/*
525-
* The previous request was not completed,
526-
* nothing to return
527-
*/
528-
return NULL;
529-
}
519+
err = mmc_wait_for_data_req_done(host, host->areq->mrq, areq);
520+
if (err == MMC_BLK_NEW_REQUEST) {
521+
if (error)
522+
*error = err;
523+
/*
524+
* The previous request was not completed,
525+
* nothing to return
526+
*/
527+
return NULL;
528+
}
530529
/*
531530
* Check BKOPS urgency for each R1 response
532531
*/
@@ -545,7 +544,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
545544

546545
/* Cancel a prepared request if it was not started. */
547546
if ((err || start_err) && areq)
548-
mmc_post_req(host, areq->mrq, -EINVAL);
547+
mmc_post_req(host, areq->mrq, -EINVAL);
549548

550549
if (err)
551550
host->areq = NULL;

0 commit comments

Comments
 (0)