diff options
| author | Greg Kurz | 2015-07-02 08:23:11 +0200 |
|---|---|---|
| committer | Alexander Graf | 2015-07-07 17:44:51 +0200 |
| commit | 4d9ab7d4ed46c63d047862d11946996005742a09 (patch) | |
| tree | 2d2ab34f8ba114e4d0fa5b5f12f2b0122ff6d38a /scripts/checkpatch.pl | |
| parent | spapr_pci: set device node unit address as hex (diff) | |
| download | qemu-4d9ab7d4ed46c63d047862d11946996005742a09.tar.gz qemu-4d9ab7d4ed46c63d047862d11946996005742a09.tar.xz qemu-4d9ab7d4ed46c63d047862d11946996005742a09.zip | |
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>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
