diff mbox

[edk2,24/35] QuarkSocPkg: SmmControlDxe: remove set but unused variables

Message ID 1458815844-24793-25-git-send-email-lersek@redhat.com
State Accepted
Commit a7705e193ab23296527a337943a6c7c57b678a42
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/Dxe/SmmControlDxe/SmmControlDriver.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/Dxe/SmmControlDxe/SmmControlDriver.c b/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDriver.c
index 72ba79767fab..2f2ef883dd28 100644
--- a/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDriver.c
+++ b/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDriver.c
@@ -123,13 +123,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);
 
   //