aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2013-02-01 14:32:22 +0900
committerChris Ball <cjb@laptop.org>2013-02-24 14:37:13 -0500
commitf5c2758fbb3095dc0fe4725e4a2eaec3580e1eba (patch)
tree51c93150a208b3db224ace695ec586d0754e1749 /drivers/mmc
parent7a81902fa52f2b6f5037e167f74ebb5a41cfc7d1 (diff)
downloadkernel_goldelico_gta04-f5c2758fbb3095dc0fe4725e4a2eaec3580e1eba.zip
kernel_goldelico_gta04-f5c2758fbb3095dc0fe4725e4a2eaec3580e1eba.tar.gz
kernel_goldelico_gta04-f5c2758fbb3095dc0fe4725e4a2eaec3580e1eba.tar.bz2
mmc: core: fix indentation
This patch fixes incorrect indentation. (Just code cleanup) Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/core.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 6e95f6f..6f3bc1a 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
mmc_pre_req(host, areq->mrq, !host->areq);
if (host->areq) {
- err = mmc_wait_for_data_req_done(host, host->areq->mrq,
- areq);
- if (err == MMC_BLK_NEW_REQUEST) {
- if (error)
- *error = err;
- /*
- * The previous request was not completed,
- * nothing to return
- */
- return NULL;
- }
+ err = mmc_wait_for_data_req_done(host, host->areq->mrq, areq);
+ if (err == MMC_BLK_NEW_REQUEST) {
+ if (error)
+ *error = err;
+ /*
+ * The previous request was not completed,
+ * nothing to return
+ */
+ return NULL;
+ }
/*
* Check BKOPS urgency for each R1 response
*/
@@ -545,7 +544,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
/* Cancel a prepared request if it was not started. */
if ((err || start_err) && areq)
- mmc_post_req(host, areq->mrq, -EINVAL);
+ mmc_post_req(host, areq->mrq, -EINVAL);
if (err)
host->areq = NULL;