aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2011-12-24 21:06:06 -0500
committerChris Ball <cjb@laptop.org>2012-01-11 23:58:44 -0500
commit5b93a4595b6c39f78b69cc6eb9a3fa0ae6efe4a6 (patch)
tree70ad1164ffeacc6a5840de75bb38264adf3253b5
parent4f408cc67a0613f969d1e02fff6de74d31a29fb3 (diff)
mmc: dw_mmc: Remove unnecessary else clauses
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/dw_mmc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 69e588960e79..9b839fabfb3c 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -1678,14 +1678,9 @@ static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id)
1678 1678
1679 if (host->pdata->caps) 1679 if (host->pdata->caps)
1680 mmc->caps = host->pdata->caps; 1680 mmc->caps = host->pdata->caps;
1681 else
1682 mmc->caps = 0;
1683 1681
1684 if (host->pdata->caps2) 1682 if (host->pdata->caps2)
1685 mmc->caps2 = host->pdata->caps2; 1683 mmc->caps2 = host->pdata->caps2;
1686 else
1687 mmc->caps2 = 0;
1688
1689 1684
1690 if (host->pdata->get_bus_wd) 1685 if (host->pdata->get_bus_wd)
1691 if (host->pdata->get_bus_wd(slot->id) >= 4) 1686 if (host->pdata->get_bus_wd(slot->id) >= 4)