mirror of https://github.com/acidanthera/audk.git
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:
parent
65f810dbd5
commit
498abdab57
|
@ -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);
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue