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 <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
Laszlo Ersek 2016-03-18 21:29:44 +01:00
parent 65f810dbd5
commit 498abdab57
1 changed files with 0 additions and 3 deletions

View File

@ -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);
//