diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-18 21:25:45 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-25 10:52:38 +0100 |
commit | 8f7c4375be6895003541a61f4fcbdd2bf0ae402f (patch) | |
tree | 1214e68f437c95535d8da8a3e28eddafa056c6ca /QuarkSocPkg | |
parent | 21519420cc6fb9691e4e43c4985fb4830d2aced2 (diff) | |
download | edk2-platforms-8f7c4375be6895003541a61f4fcbdd2bf0ae402f.tar.xz |
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>
Diffstat (limited to 'QuarkSocPkg')
-rw-r--r-- | QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c | 4 | ||||
-rw-r--r-- | QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c b/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c index 6ddc09973a..075d45fa7f 100644 --- a/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c +++ b/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c @@ -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);
diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf b/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf index 00f80312c2..c41ad14a10 100644 --- a/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf +++ b/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf @@ -44,7 +44,6 @@ QNCAccessLib
[Pcd]
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdPm1blkIoBaseAddress
gEfiQuarkNcSocIdTokenSpaceGuid.PcdGpe0blkIoBaseAddress
gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmmDataPort
gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmmActivationPort
|