EmulatorPkg: Remove variables that are set, but not used
GCC 4.6 flags a warning for this. Signed-off-by: jljusten Reviewed-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12613 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -374,7 +374,6 @@ CpuMpServicesStartupAllAps (
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
PROCESSOR_DATA_BLOCK *ProcessorData;
|
||||
UINTN ListIndex;
|
||||
UINTN Number;
|
||||
UINTN NextNumber;
|
||||
PROCESSOR_STATE APInitialState;
|
||||
@@ -411,7 +410,6 @@ CpuMpServicesStartupAllAps (
|
||||
|
||||
Timeout = TimeoutInMicroseconds;
|
||||
|
||||
ListIndex = 0;
|
||||
ProcessorData = NULL;
|
||||
|
||||
gMPSystem.FinishCount = 0;
|
||||
@@ -650,7 +648,6 @@ CpuMpServicesStartupThisAP (
|
||||
OUT BOOLEAN *Finished OPTIONAL
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
INTN Timeout;
|
||||
|
||||
if (!IsBSP ()) {
|
||||
@@ -685,13 +682,13 @@ CpuMpServicesStartupThisAP (
|
||||
SetApProcedure (&gMPSystem.ProcessorData[ProcessorNumber], Procedure, ProcedureArgument);
|
||||
|
||||
if (WaitEvent != NULL) {
|
||||
// Non Blocking
|
||||
gMPSystem.WaitEvent = WaitEvent;
|
||||
Status = gBS->SetTimer (
|
||||
gMPSystem.ProcessorData[ProcessorNumber].CheckThisAPEvent,
|
||||
TimerPeriodic,
|
||||
gPollInterval
|
||||
);
|
||||
// Non Blocking
|
||||
gMPSystem.WaitEvent = WaitEvent;
|
||||
gBS->SetTimer (
|
||||
gMPSystem.ProcessorData[ProcessorNumber].CheckThisAPEvent,
|
||||
TimerPeriodic,
|
||||
gPollInterval
|
||||
);
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -1155,10 +1152,6 @@ FillInProcessorInformation (
|
||||
IN UINTN ProcessorNumber
|
||||
)
|
||||
{
|
||||
PROCESSOR_DATA_BLOCK *ProcessorData;
|
||||
|
||||
ProcessorData = &gMPSystem.ProcessorData[ProcessorNumber];
|
||||
|
||||
gMPSystem.ProcessorData[ProcessorNumber].Info.ProcessorId = gThread->Self ();
|
||||
gMPSystem.ProcessorData[ProcessorNumber].Info.StatusFlag = PROCESSOR_ENABLED_BIT | PROCESSOR_HEALTH_STATUS_BIT;
|
||||
if (BSP) {
|
||||
|
Reference in New Issue
Block a user