spapr_iommu: drop erroneous check in h_put_tce_indirect()
commit4d9ab7d4ed46c63d047862d11946996005742a09
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Thu, 2 Jul 2015 06:23:11 +0000 (2 16:23 +1000)
committerAlexander Graf <agraf@suse.de>
Tue, 7 Jul 2015 15:44:51 +0000 (7 17:44 +0200)
tree2d2ab34f8ba114e4d0fa5b5f12f2b0122ff6d38a
parent9b7d9284c3b114112a7759ce0a885df0767fe8d9
spapr_iommu: drop erroneous check in h_put_tce_indirect()

The tce_list variable is not a TCE but the address to a TCE: we shouldn't
clear permission bits as we do now. And this is dead code anyway since we
check tce_list is 4K aligned a few lines above.

This patch doesn't fix any bug, it is only code cleanup.

Suggested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_iommu.c