This patch also eliminates a PCI config space access, but that should be
fine.

Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Kelly Steele <kelly.ste...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <ler...@redhat.com>
---
 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c 
b/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c
index c434067f726a..d3c82be4defa 100644
--- a/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c
+++ b/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c
@@ -509,11 +509,8 @@ EFI_STATUS
 InitializeQNCPolicy (
   )
 {
-  UINT8        RevisionID;
   UINT32       PciD31F0RegBase;  // LPC
 
-  RevisionID = LpcPciCfg8(R_QNC_LPC_REV_ID);
-
   PciD31F0RegBase = PciDeviceMmBase (PCI_BUS_NUMBER_QNC, 
PCI_DEVICE_NUMBER_QNC_LPC, PCI_FUNCTION_NUMBER_QNC_LPC);
 
   //
-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to