summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-10-20 17:33:44 +0200
committerJoerg Roedel <jroedel@suse.de>2015-10-21 11:30:33 +0200
commit226e889b20a99c073615ff5f5b6ea0bbccf25c5f (patch)
tree5ff6ab5d96ee05e81a4a7e973cb0434227f99669 /drivers/iommu/amd_iommu_types.h
parentd1259416985513ba97f75a63ecf5bc75592a4b8d (diff)
iommu/amd: Remove first/last_device handling
The code is buggy and the values read from PCI are not reliable anyway, so it is the best to just remove this code. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-rw-r--r--drivers/iommu/amd_iommu_types.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h
index 921b2e95161b..fc9501dc7067 100644
--- a/drivers/iommu/amd_iommu_types.h
+++ b/drivers/iommu/amd_iommu_types.h
@@ -516,11 +516,6 @@ struct amd_iommu {
/* pci domain of this IOMMU */
u16 pci_seg;
- /* first device this IOMMU handles. read from PCI */
- u16 first_device;
- /* last device this IOMMU handles. read from PCI */
- u16 last_device;
-
/* start of exclusion range of that IOMMU */
u64 exclusion_start;
/* length of exclusion range of that IOMMU */