summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Häuser <Marvin.Haeuser@outlook.com>2018-02-27 23:06:13 +0100
committerJiewen Yao <jiewen.yao@intel.com>2018-02-28 09:13:58 +0800
commit25bd1091211b81309147dcdf09b4f61fc23635bb (patch)
tree894d162357aac815ca7a95deaac701e274190747
parent3a9a8d13d0b17c09b231883d3b5ebfb88100aa1b (diff)
downloadedk2-platforms-25bd1091211b81309147dcdf09b4f61fc23635bb.tar.xz
MinPlatformPkg/AcpiPlatform: Remove unused variables.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
-rw-r--r--Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c
index 02677a7d4e..f6c30ec321 100644
--- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c
+++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c
@@ -81,9 +81,7 @@ PlatformUpdateTables (
EFI_ACPI_DESCRIPTION_HEADER *TableHeader;
UINT8 *CurrPtr;
UINT8 *EndPtr;
- UINT8 *TempPtr;
EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC_STRUCTURE *ApicPtr;
- UINT8 CurrProcessor;
EFI_STATUS Status;
EFI_MP_SERVICES_PROTOCOL *MpService;
UINTN NumberOfCPUs;
@@ -94,8 +92,6 @@ PlatformUpdateTables (
CurrPtr = NULL;
EndPtr = NULL;
ApicPtr = NULL;
- TempPtr = NULL;
- CurrProcessor = 0;
NumberOfCPUs = 1;
LocalApicCounter = 0;
@@ -497,17 +493,8 @@ InstallAcpiPlatform (
)
{
EFI_STATUS Status;
- INTN Instance;
- EFI_ACPI_COMMON_HEADER *CurrentTable;
- UINTN TableHandle;
- EFI_HANDLE Handle;
EFI_EVENT EndOfDxeEvent;
- Instance = 0;
- CurrentTable = NULL;
- TableHandle = 0;
- Handle = NULL;
-
//
// Create an End of DXE event.
//
@@ -551,7 +538,6 @@ SortCpuLocalApicInTable (
)
{
EFI_PROCESSOR_INFORMATION *MpContext;
- UINTN BufferSize;
INTN Index2;
UINTN Index1;
UINTN Index;
@@ -563,7 +549,6 @@ SortCpuLocalApicInTable (
UINT8 MaxCpuCore;
UINT8 MaxCpuThread;
- BufferSize = 0;
MpContext = NULL;
MaxCpuPackage = 0;
MaxCpuCore = 0;