Skip to content

Commit

Permalink
mmc: dw_mmc: Remove unnecessary else clauses
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Ball <[email protected]>
  • Loading branch information
cjb committed Jan 12, 2012
1 parent 4f408cc commit 5b93a45
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/mmc/host/dw_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5b93a45

Please sign in to comment.