Skip to contentSkip to conversation

mmc: core: fixing for the wrong indent

PATCH In review Jaehoon Chung 2 participants 2 messages Feb 1, 2013 – Feb 11, 2013 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: core: fixing for the wrong indent

This patch is fixed the wrong indent.
(Just code cleanup)

---
 drivers/mmc/core/core.c |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
drivers/mmc/core/core.c +11 -12
index 39f28af..bc847d5 100644
@@ -515,17 +515,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
 		 */
@@ -544,7 +543,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;
Signature · 1 line
1.7.5.4
#1 lore raw

Hi,

Quoted 7 lines · Jaehoon Chung

This patch is fixed the wrong indent.
(Just code cleanup)

---
 drivers/mmc/core/core.c |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)

Thanks, pushed to mmc-next for 3.9.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child