]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
Vlv2TbltDevicePkg/AcpiPlatform: Remove unused variables
[mirror_edk2.git] / Vlv2TbltDevicePkg / AcpiPlatform / AcpiPlatform.c
index 8a883f2a098df6a2d50dc7efa252a52ca3debb0b..f533d742a4d37ff144e80fcd1c6293c0dde20ca4 100644 (file)
@@ -211,8 +211,6 @@ PlatformUpdateTables (
   EFI_MP_SERVICES_PROTOCOL                                    *MpService;\r
   UINTN                                                       MaximumNumberOfCPUs;\r
   UINTN                                                       NumberOfEnabledCPUs;\r
-  UINTN                                                       BufferSize;\r
-  ACPI_APIC_STRUCTURE_PTR                                     *ProcessorLocalApicEntry;\r
   UINTN                                                       BspIndex;\r
   EFI_ACPI_1_0_ASF_DESCRIPTION_TABLE                          *AsfEntry;\r
   EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER            *HpetTbl;\r
@@ -234,7 +232,6 @@ PlatformUpdateTables (
   UINT16                                                      NumberOfHpets;\r
   UINT16                                                      HpetCapIdValue;\r
   UINT32                                                      HpetBlockID;\r
-  UINTN                                                       LocalApicCounter;\r
   EFI_PROCESSOR_INFORMATION                                   ProcessorInfoBuffer;\r
   UINT8                                                       TempVal;\r
   EFI_ACPI_3_0_IO_APIC_STRUCTURE                              *IOApicType;\r
@@ -244,9 +241,7 @@ PlatformUpdateTables (
   CurrPtr                 = NULL;\r
   EndPtr                  = NULL;\r
   ApicPtr                 = NULL;\r
-  LocalApicCounter        = 0;\r
   CurrProcessor           = 0;\r
-  ProcessorLocalApicEntry = NULL;\r
 \r
 \r
  if (Table->Signature != EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE) {\r
@@ -374,7 +369,6 @@ PlatformUpdateTables (
               ApicPtr->AcpiLocalApic.AcpiProcessorId = (UINT8)MaximumNumberOfCPUs;\r
             }\r
 \r
-            BufferSize                    = 0;\r
             ApicPtr->AcpiLocalApic.Flags  = 0;\r
 \r
             for (CurrProcessor = 0; CurrProcessor < MaximumNumberOfCPUs; CurrProcessor++) {\r
@@ -807,7 +801,6 @@ AcpiPlatformEntryPoint (
   EFI_MP_SERVICES_PROTOCOL      *MpService;\r
   UINTN                         MaximumNumberOfCPUs;\r
   UINTN                         NumberOfEnabledCPUs;\r
-  UINT32                        Data32;\r
   PCH_STEPPING                  pchStepping;\r
 \r
   mFirstNotify      = FALSE;\r
@@ -816,7 +809,6 @@ AcpiPlatformEntryPoint (
   Instance          = 0;\r
   CurrentTable      = NULL;\r
   TableHandle       = 0;\r
-  Data32            = 0;\r
 \r
   //\r
   // Update HOB variable for PCI resource information.\r