diff options
-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, | |||
1069 | iotlb_init_entry(&e, da, pa, flags); | 1069 | iotlb_init_entry(&e, da, pa, flags); |
1070 | 1070 | ||
1071 | ret = omap_iopgtable_store_entry(oiommu, &e); | 1071 | ret = omap_iopgtable_store_entry(oiommu, &e); |
1072 | if (ret) { | 1072 | if (ret) |
1073 | dev_err(dev, "omap_iopgtable_store_entry failed: %d\n", ret); | 1073 | dev_err(dev, "omap_iopgtable_store_entry failed: %d\n", ret); |
1074 | return ret; | ||
1075 | } | ||
1076 | 1074 | ||
1077 | return 0; | 1075 | return ret; |
1078 | } | 1076 | } |
1079 | 1077 | ||
1080 | static int omap_iommu_unmap(struct iommu_domain *domain, unsigned long da, | 1078 | static int omap_iommu_unmap(struct iommu_domain *domain, unsigned long da, |