diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-18 21:29:44 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-25 10:52:41 +0100 |
commit | 498abdab57b007220094c664716f3e9b9fa4c623 (patch) | |
tree | 5af2a82bf5736719de83bc5d5c8572ebdce5aefe /QuarkSocPkg | |
parent | 65f810dbd55c6d12db8f474e2e216ee93a1136f2 (diff) | |
download | edk2-498abdab57b007220094c664716f3e9b9fa4c623.tar.gz edk2-498abdab57b007220094c664716f3e9b9fa4c623.tar.bz2 edk2-498abdab57b007220094c664716f3e9b9fa4c623.zip |
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>
Diffstat (limited to 'QuarkSocPkg')
-rw-r--r-- | QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInit.c | 3 |
1 files changed, 0 insertions, 3 deletions
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);
//
|