projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iommu/ipmmu-vmsa: Invalidate TLB after unmapping
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
iommu
/
ipmmu-vmsa.c
diff --git
a/drivers/iommu/ipmmu-vmsa.c
b/drivers/iommu/ipmmu-vmsa.c
index a32d237c0f227242a8e3541b7af60d7c5e68e263..3a61103ef108239b01ab72d4565d0c3bbd73d928 100644
(file)
--- a/
drivers/iommu/ipmmu-vmsa.c
+++ b/
drivers/iommu/ipmmu-vmsa.c
@@
-785,7
+785,6
@@
static int ipmmu_clear_mapping(struct ipmmu_vmsa_domain *domain,
pud_t *pud;
pmd_t *pmd;
pte_t *pte;
- int ret = 0;
if (!pgd)
return -EINVAL;
@@
-847,8
+846,7
@@
static int ipmmu_clear_mapping(struct ipmmu_vmsa_domain *domain,
done:
spin_unlock_irqrestore(&domain->lock, flags);
- if (ret)
- ipmmu_tlb_invalidate(domain);
+ ipmmu_tlb_invalidate(domain);
return 0;
}