projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329d8d3
)
iommu/omap: cleanup: remove a redundant statement
author
Ohad Ben-Cohen
<ohad@wizery.com>
Fri, 2 Sep 2011 17:32:31 +0000
(13:32 -0400)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 5 Sep 2011 13:14:37 +0000
(15:14 +0200)
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>
drivers/iommu/omap-iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/omap-iommu.c
b/drivers/iommu/omap-iommu.c
index 90744afbed71230699949e5139e0a2756b4fbab3..4311bc32cfa644148d781c9cf02c24fcc144be6b 100644
(file)
--- 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,