diff mbox

[edk2,34/35] UefiCpuPkg: CpuMpPei: remove set but unused variables

Message ID 1458815844-24793-35-git-send-email-lersek@redhat.com
State Accepted
Commit 6c7f3f1d5921d0cd27f975af8cb723732b3ab158
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:37 a.m. UTC
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>

---
 UefiCpuPkg/CpuMpPei/CpuMpPei.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b/UefiCpuPkg/CpuMpPei/CpuMpPei.c
index 950d61cc4853..f38b3961961c 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
   //