From 8f7c4375be6895003541a61f4fcbdd2bf0ae402f Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 18 Mar 2016 21:25:45 +0100 Subject: QuarkSocPkg: QNCSmmLib: remove set but unused variables This patch also removes a PcdGet16() call, but that should be harmless. Cc: Michael D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen Reviewed-by: Jeff Fan --- QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c | 4 +--- QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'QuarkSocPkg/QuarkNorthCluster') 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 -- cgit v1.2.3