summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-05-28 18:41:44 +0200
committerJoerg Roedel <jroedel@suse.de>2015-06-11 09:42:24 +0200
commit2870b0a4911038fd6aed9093cda2dbe80fd0ee2e (patch)
tree1ab4b2b292978a5c4cfad97824cde78b6f340d6d /drivers/iommu/amd_iommu_types.h
parent343e9cac9c4a2715e8fa6b89b04e31e9fcbae5e3 (diff)
iommu/amd: Remove unused fields from struct dma_ops_domain
The list_head and target_dev members are not used anymore. Remove them. 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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h
index fe796cfc62ca..bb56560ac6ca 100644
--- a/drivers/iommu/amd_iommu_types.h
+++ b/drivers/iommu/amd_iommu_types.h
@@ -446,8 +446,6 @@ struct aperture_range {
* Data container for a dma_ops specific protection domain
*/
struct dma_ops_domain {
- struct list_head list;
-
/* generic protection domain information */
struct protection_domain domain;
@@ -462,12 +460,6 @@ struct dma_ops_domain {
/* This will be set to true when TLB needs to be flushed */
bool need_flush;
-
- /*
- * if this is a preallocated domain, keep the device for which it was
- * preallocated in this variable
- */
- u16 target_dev;
};
/*