mmc: dw_mmc: Remove unnecessary else clauses
authorChris Ball <cjb@laptop.org>
Sun, 25 Dec 2011 02:06:06 +0000 (21:06 -0500)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:44 +0000 (23:58 -0500)
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c

index 69e588960e79b63c0942a5d1c6959a2f585504ff..9b839fabfb3c5c02138937e33c93fcf3529f5705 100644 (file)
@@ -1678,14 +1678,9 @@ static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id)
 
        if (host->pdata->caps)
                mmc->caps = host->pdata->caps;
-       else
-               mmc->caps = 0;
 
        if (host->pdata->caps2)
                mmc->caps2 = host->pdata->caps2;
-       else
-               mmc->caps2 = 0;
-
 
        if (host->pdata->get_bus_wd)
                if (host->pdata->get_bus_wd(slot->id) >= 4)