提交 b4550d41 编写于 作者: O Ohad Ben-Cohen 提交者: Joerg Roedel

iommu/omap: cleanup: remove a redundant statement

Tiny cleanup that removes a redundant 'return' statement.
Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
上级 329d8d3b
......@@ -1069,12 +1069,10 @@ static int omap_iommu_map(struct iommu_domain *domain, unsigned long da,
iotlb_init_entry(&e, da, pa, flags);
ret = omap_iopgtable_store_entry(oiommu, &e);
if (ret) {
if (ret)
dev_err(dev, "omap_iopgtable_store_entry failed: %d\n", ret);
return ret;
}
return 0;
return ret;
}
static int omap_iommu_unmap(struct iommu_domain *domain, unsigned long da,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册