EmulatorPkg/MpService: remove redundant switch-case statement

we had set the AP procedure in StartupAllAPs(), so do not need
to set AP procedure twice.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16186 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Chen Fan 2014-09-28 06:22:10 +00:00 committed by jljusten
parent 5152f6426c
commit 3dfe9247ce
1 changed files with 0 additions and 4 deletions

View File

@ -1015,10 +1015,6 @@ CpuCheckAllAPsStatus (
gThread->MutexUnlock (ProcessorData->StateLock);
switch (ProcessorState) {
case CPU_STATE_READY:
SetApProcedure (ProcessorData, gMPSystem.Procedure, gMPSystem.ProcedureArgument);
break;
case CPU_STATE_FINISHED:
if (gMPSystem.SingleThread) {
Status = GetNextBlockedNumber (&NextNumber);