diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-04-26 15:17:20 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-04-26 15:17:20 +0200 |
commit | c805b428f206a9097ef8c905d8b7e40bc411100e (patch) | |
tree | 5b12b4df54310d46584c9e3a29c3939b53ced51d /drivers/iommu/amd_iommu_types.h | |
parent | 7a5dbf3ab2f04905cf8468c66fcdbfb643068bcb (diff) | |
download | linux-c805b428f206a9097ef8c905d8b7e40bc411100e.tar.bz2 |
iommu/amd: Remove amd_iommu_pd_list
This variable hold a global list of allocated protection
domains in the AMD IOMMU driver. By now this list is never
traversed anymore, so the list and the lock protecting it
can be removed.
Cc: Tom Murphy <tmurphy@arista.com>
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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index 87965e4d9647..85c488b8daea 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -675,12 +675,6 @@ extern struct list_head amd_iommu_list; extern struct amd_iommu *amd_iommus[MAX_IOMMUS]; /* - * Declarations for the global list of all protection domains - */ -extern spinlock_t amd_iommu_pd_lock; -extern struct list_head amd_iommu_pd_list; - -/* * Structure defining one entry in the device table */ struct dev_table_entry { |