提交 5b93a459 编写于 作者: C Chris Ball

mmc: dw_mmc: Remove unnecessary else clauses

Signed-off-by: NChris Ball <cjb@laptop.org>
上级 4f408cc6
...@@ -1678,14 +1678,9 @@ static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id) ...@@ -1678,14 +1678,9 @@ static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id)
if (host->pdata->caps) if (host->pdata->caps)
mmc->caps = host->pdata->caps; mmc->caps = host->pdata->caps;
else
mmc->caps = 0;
if (host->pdata->caps2) if (host->pdata->caps2)
mmc->caps2 = host->pdata->caps2; mmc->caps2 = host->pdata->caps2;
else
mmc->caps2 = 0;
if (host->pdata->get_bus_wd) if (host->pdata->get_bus_wd)
if (host->pdata->get_bus_wd(slot->id) >= 4) if (host->pdata->get_bus_wd(slot->id) >= 4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册