diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-09-02 13:32:31 -0400 |
---|---|---|
committer | Hiroshi DOYU <hdoyu@nvidia.com> | 2012-01-23 11:11:32 +0200 |
commit | 1b56ee2f51cd74bf537a891a062f6068c7ab1a28 (patch) | |
tree | f6241802fbb013a44fb8e8d186cefbaf53c6942e /drivers/iommu/omap-iommu.c | |
parent | 9bb4996c5fc367f474674400614b220286e2d360 (diff) |
iommu/omap: cleanup: remove a redundant statement
Tiny cleanup that removes a redundant 'return' statement.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r-- | drivers/iommu/omap-iommu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index 90744afbed71..4311bc32cfa6 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c @@ -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, |