summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>2014-09-28 06:22:10 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-28 06:22:10 +0000
commit3dfe9247cef656a40407a46af5e2e4e04757a646 (patch)
treeeb2035fe65c66ab188b4e066002ef38b7680599a
parent5152f6426cb80b70eb7c39e372105e050946eb85 (diff)
downloadedk2-platforms-3dfe9247cef656a40407a46af5e2e4e04757a646.tar.xz
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
-rw-r--r--EmulatorPkg/CpuRuntimeDxe/MpService.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuRuntimeDxe/MpService.c
index 5ddd4e761e..d6dd9842aa 100644
--- a/EmulatorPkg/CpuRuntimeDxe/MpService.c
+++ b/EmulatorPkg/CpuRuntimeDxe/MpService.c
@@ -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);