diff mbox

[edk2,30/35] SourceLevelDebugPkg: DebugAgentCommon: remove set but unused variables

Message ID 1458815844-24793-31-git-send-email-lersek@redhat.com
State Accepted
Commit c30d65e080c244b1a131a7dea1251353cc1edbbd
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:37 a.m. UTC
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

---
 SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c | 3 ---
 1 file changed, 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/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
index 6a82cd354b3c..edd0de1ba29c 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
+++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
@@ -1859,7 +1859,6 @@  CommandCommunication (
   DEBUG_DATA_SET_VIEWPOINT          *SetViewPoint;
   BOOLEAN                           HaltDeferred;
   UINT32                            ProcessorIndex;
-  DEBUG_PORT_HANDLE                 Handle;
   DEBUG_AGENT_EXCEPTION_BUFFER      AgentExceptionBuffer;
   UINT32                            IssuedViewPoint;
   DEBUG_AGENT_MAILBOX               *Mailbox;
@@ -1887,8 +1886,6 @@  CommandCommunication (
     SetDebugFlag (DEBUG_AGENT_FLAG_AGENT_IN_PROGRESS, 1);
   }
 
-  Handle = GetDebugPortHandle();
-
   while (TRUE) {
 
     if (MultiProcessorDebugSupport()) {