summaryrefslogtreecommitdiffstats
path: root/SourceLevelDebugPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 22:02:42 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-25 10:52:52 +0100
commitc30d65e080c244b1a131a7dea1251353cc1edbbd (patch)
tree37e364cdc24558c141eb39806ad407f2d3d5ecc0 /SourceLevelDebugPkg
parenta5e5d9458af673c2524a32f35a83c1d0980ccf48 (diff)
downloadedk2-c30d65e080c244b1a131a7dea1251353cc1edbbd.tar.gz
edk2-c30d65e080c244b1a131a7dea1251353cc1edbbd.tar.bz2
edk2-c30d65e080c244b1a131a7dea1251353cc1edbbd.zip
SourceLevelDebugPkg: DebugAgentCommon: remove set but unused variables
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>
Diffstat (limited to 'SourceLevelDebugPkg')
-rw-r--r--SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
index 6a82cd354b..edd0de1ba2 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()) {