HV: Removed unused member variable of iommu_domain and related code

hv: vtd: removed is_host (always false) and is_tt_ept (always true) member
variables of struct iommu_domain and related codes since the values are
always determined.

Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Qian Wang
2020-03-25 15:03:08 +08:00
committed by wenlingz
parent c4531e3bc0
commit b55f414a9d
2 changed files with 6 additions and 34 deletions

View File

@@ -53,8 +53,6 @@ enum acpi_dmar_scope_type {
};
struct iommu_domain {
bool is_host;
bool is_tt_ept; /* if reuse EPT of the domain */
uint16_t vm_id;
uint32_t addr_width; /* address width of the domain */
uint64_t trans_table_ptr;