diff options
author | Joerg Roedel | 2015-10-20 17:33:44 +0200 |
---|---|---|
committer | Joerg Roedel | 2015-10-21 11:30:33 +0200 |
commit | 226e889b20a99c073615ff5f5b6ea0bbccf25c5f (patch) | |
tree | 5ff6ab5d96ee05e81a4a7e973cb0434227f99669 /drivers/iommu/amd_iommu_types.h | |
parent | iommu/amd: Initialize amd_iommu_last_bdf for DEV_ALL (diff) | |
download | kernel-qcow2-linux-226e889b20a99c073615ff5f5b6ea0bbccf25c5f.tar.gz kernel-qcow2-linux-226e889b20a99c073615ff5f5b6ea0bbccf25c5f.tar.xz kernel-qcow2-linux-226e889b20a99c073615ff5f5b6ea0bbccf25c5f.zip |
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.h | 5 |
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 */ |