diff mbox

[edk2,25/35] QuarkSocPkg: SmmControlPei: remove set but unused variables

Message ID 1458815844-24793-26-git-send-email-lersek@redhat.com
State Accepted
Commit 0e283ad75f7aa666f976951fefb3456b9a6417de
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:37 a.m. UTC
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>

---
 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c b/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c
index 8c8261105616..4d19c8f89b0b 100644
--- a/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c
+++ b/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c
@@ -96,13 +96,11 @@  SmmClear (
   VOID
   )
 {
-  UINT16                       PM1BLK_Base;
   UINT16                       GPE0BLK_Base;
 
   //
-  // Get PM1BLK_Base & GPE0BLK_Base
+  // Get GPE0BLK_Base
   //
-  PM1BLK_Base  = PcdGet16 (PcdPm1blkIoBaseAddress);
   GPE0BLK_Base = PcdGet16 (PcdGpe0blkIoBaseAddress);
 
   //