IntelSiliconPkg IntelVTdDxe: Remove mVtdHostAddressWidthMask

mVtdHostAddressWidthMask is not been used at all,
its definition and related code could be removed.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
(cherry picked from commit 9eaa902a52)
This commit is contained in:
Star Zeng
2018-01-16 18:56:44 +08:00
parent ae665c4fa1
commit 9bebced571
3 changed files with 1 additions and 5 deletions

View File

@@ -806,8 +806,6 @@ ParseDmarAcpiTableDrhd (
return EFI_OUT_OF_RESOURCES;
}
mVtdHostAddressWidthMask = LShiftU64 (1ull, mAcpiDmarTable->HostAddressWidth) - 1;
VtdIndex = 0;
DmarHeader = (EFI_ACPI_DMAR_STRUCTURE_HEADER *)((UINTN)(mAcpiDmarTable + 1));
while ((UINTN)DmarHeader < (UINTN)mAcpiDmarTable + mAcpiDmarTable->Header.Length) {