From: Laszlo Ersek Date: Fri, 18 Mar 2016 20:29:44 +0000 (+0100) Subject: QuarkSocPkg: QNCInit/Dxe: remove set but unused variables X-Git-Tag: edk2-stable201903~7510 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=498abdab57b007220094c664716f3e9b9fa4c623;ds=inline QuarkSocPkg: QNCInit/Dxe: remove set but unused variables This patch also eliminates a PCI config space access, but that should be fine. Cc: Michael D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen Reviewed-by: Jeff Fan --- diff --git a/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c b/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c index c434067f72..d3c82be4de 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); //