Commit b4550d415a2e1668822ebf3a12b481548756b4e3

Authored by Ohad Ben-Cohen
Committed by Joerg Roedel
1 parent 329d8d3b47

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>

Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff

drivers/iommu/omap-iommu.c
... ... @@ -1069,12 +1069,10 @@
1069 1069 iotlb_init_entry(&e, da, pa, flags);
1070 1070  
1071 1071 ret = omap_iopgtable_store_entry(oiommu, &e);
1072   - if (ret) {
  1072 + if (ret)
1073 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 1078 static int omap_iommu_unmap(struct iommu_domain *domain, unsigned long da,