aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/sdhci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 16ed2ae929d3..60a40cb0a49a 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -470,9 +470,7 @@ static void sdhci_finish_data(struct sdhci_host *host)
470 "though there were blocks left. Please report this " 470 "though there were blocks left. Please report this "
471 "to " BUGMAIL ".\n", mmc_hostname(host->mmc)); 471 "to " BUGMAIL ".\n", mmc_hostname(host->mmc));
472 data->error = MMC_ERR_FAILED; 472 data->error = MMC_ERR_FAILED;
473 } 473 } else if (host->size != 0) {
474
475 if (host->size != 0) {
476 printk(KERN_ERR "%s: %d bytes were left untransferred. " 474 printk(KERN_ERR "%s: %d bytes were left untransferred. "
477 "Please report this to " BUGMAIL ".\n", 475 "Please report this to " BUGMAIL ".\n",
478 mmc_hostname(host->mmc), host->size); 476 mmc_hostname(host->mmc), host->size);