diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b/UefiCpuPkg/CpuMpPei/CpuMpPei.c index 950d61cc48..f38b396196 100644 --- a/UefiCpuPkg/CpuMpPei/CpuMpPei.c +++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.c @@ -826,7 +826,6 @@ CpuMpPeimInit ( { EFI_STATUS Status; PEI_CPU_MP_DATA *PeiCpuMpData; - UINT32 ProcessorCount; // // Load new GDT table on BSP @@ -839,7 +838,7 @@ CpuMpPeimInit ( // // Count processor number and collect processor information // - ProcessorCount = CountProcessorNumber (PeiCpuMpData); + CountProcessorNumber (PeiCpuMpData); // // Build location of PEI CPU MP DATA buffer in HOB //