mirror of https://github.com/acidanthera/audk.git
QuarkSocPkg: QNCSmmLib: remove set but unused variables
This patch also removes a PcdGet16() call, but that should be harmless. 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
21519420cc
commit
8f7c4375be
|
@ -38,14 +38,12 @@ InternalTriggerSmi (
|
|||
IN UINT8 Data
|
||||
)
|
||||
{
|
||||
UINT16 PM1BLK_Base;
|
||||
UINT16 GPE0BLK_Base;
|
||||
UINT32 NewValue;
|
||||
|
||||
//
|
||||
// Get PM1BLK_Base & GPE0BLK_Base
|
||||
// Get GPE0BLK_Base
|
||||
//
|
||||
PM1BLK_Base = PcdGet16 (PcdPm1blkIoBaseAddress);
|
||||
GPE0BLK_Base = (UINT16)(LpcPciCfg32 (R_QNC_LPC_GPE0BLK) & 0xFFFF);
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
QNCAccessLib
|
||||
|
||||
[Pcd]
|
||||
gEfiQuarkNcSocIdTokenSpaceGuid.PcdPm1blkIoBaseAddress
|
||||
gEfiQuarkNcSocIdTokenSpaceGuid.PcdGpe0blkIoBaseAddress
|
||||
gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmmDataPort
|
||||
gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmmActivationPort
|
||||
|
|
Loading…
Reference in New Issue