mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
mmc: dw_mmc: Remove unnecessary else clauses
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
4f408cc67a
commit
5b93a4595b
1 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue