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()) {