]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SourceLevelDebugPkg: DebugAgentCommon: remove set but unused variables
authorLaszlo Ersek <lersek@redhat.com>
Fri, 18 Mar 2016 21:02:42 +0000 (22:02 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 25 Mar 2016 09:52:52 +0000 (10:52 +0100)
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>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c

index 6a82cd354b3c1f44f6c6851987bce1a50b305e54..edd0de1ba29c0e97aa622208703f0a40ef6879e7 100644 (file)
@@ -1859,7 +1859,6 @@ CommandCommunication (
   DEBUG_DATA_SET_VIEWPOINT          *SetViewPoint;\r
   BOOLEAN                           HaltDeferred;\r
   UINT32                            ProcessorIndex;\r
-  DEBUG_PORT_HANDLE                 Handle;\r
   DEBUG_AGENT_EXCEPTION_BUFFER      AgentExceptionBuffer;\r
   UINT32                            IssuedViewPoint;\r
   DEBUG_AGENT_MAILBOX               *Mailbox;\r
@@ -1887,8 +1886,6 @@ CommandCommunication (
     SetDebugFlag (DEBUG_AGENT_FLAG_AGENT_IN_PROGRESS, 1);\r
   }\r
 \r
-  Handle = GetDebugPortHandle();\r
-\r
   while (TRUE) {\r
 \r
     if (MultiProcessorDebugSupport()) {\r