From: Chris Ball Date: Sun, 25 Dec 2011 02:06:06 +0000 (-0500) Subject: mmc: dw_mmc: Remove unnecessary else clauses X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5b93a4595b6c39f78b69cc6eb9a3fa0ae6efe4a6;p=linux-beck.git mmc: dw_mmc: Remove unnecessary else clauses Signed-off-by: Chris Ball --- 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) 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)