summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/CpuMpPei
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 21:03:16 +0100
committerHao Wu <hao.a.wu@intel.com>2016-07-14 15:50:45 +0800
commit94d4d57a66070833c650802f5ff733c03fa40aad (patch)
tree6bbe41cab35a5072a65a05a7b4fee4c2cef99752 /UefiCpuPkg/CpuMpPei
parent6a0f061837e5033bf41e234b4cd9b2e06efdb62c (diff)
downloadedk2-platforms-94d4d57a66070833c650802f5ff733c03fa40aad.tar.xz
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> (cherry picked from commit 6c7f3f1d5921d0cd27f975af8cb723732b3ab158)
Diffstat (limited to 'UefiCpuPkg/CpuMpPei')
-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 bb909bae8b..9da1b64732 100644
--- a/UefiCpuPkg/CpuMpPei/CpuMpPei.c
+++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.c
@@ -854,7 +854,6 @@ CpuMpPeimInit (
{
EFI_STATUS Status;
PEI_CPU_MP_DATA *PeiCpuMpData;
- UINT32 ProcessorCount;
//
// Load new GDT table on BSP
@@ -867,7 +866,7 @@ CpuMpPeimInit (
//
// Count processor number and collect processor information
//
- ProcessorCount = CountProcessorNumber (PeiCpuMpData);
+ CountProcessorNumber (PeiCpuMpData);
//
// Build location of PEI CPU MP DATA buffer in HOB
//