summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 21:03:16 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-25 10:53:00 +0100
commit6c7f3f1d5921d0cd27f975af8cb723732b3ab158 (patch)
tree95089108364ab70cc3ef58ee9d99f0a69a11a745 /UefiCpuPkg
parentdc0a7143148508ef8eac2c8a5fb239d84561af14 (diff)
downloadedk2-6c7f3f1d5921d0cd27f975af8cb723732b3ab158.tar.gz
edk2-6c7f3f1d5921d0cd27f975af8cb723732b3ab158.tar.bz2
edk2-6c7f3f1d5921d0cd27f975af8cb723732b3ab158.zip
UefiCpuPkg: CpuMpPei: remove set but unused variables
Cc: Jeff Fan <jeff.fan@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/CpuMpPei/CpuMpPei.c3
1 files changed, 1 insertions, 2 deletions
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
//