Re: [edk2] [Patch 3/3] UefiCpuPkg/CpuMpPei: Remove unnecessary variable

2016-07-01 Thread Mudusuru, Giri P
Reviewed-by: Giri P Mudusuru  

> -Original Message-
> From: Fan, Jeff
> Sent: Friday, July 1, 2016 12:02 AM
> To: edk2-de...@ml01.01.org
> Cc: Kinney, Michael D ; Tian, Feng
> ; Mudusuru, Giri P 
> Subject: [Patch 3/3] UefiCpuPkg/CpuMpPei: Remove unnecessary variable
> 
> Cc: Michael Kinney 
> Cc: Feng Tian 
> Cc: Giri P Mudusuru 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jeff Fan 
> ---
>  UefiCpuPkg/CpuMpPei/Microcode.c | 3 ---
>  UefiCpuPkg/CpuMpPei/Microcode.h | 1 -
>  2 files changed, 4 deletions(-)
> 
> diff --git a/UefiCpuPkg/CpuMpPei/Microcode.c
> b/UefiCpuPkg/CpuMpPei/Microcode.c
> index 51a0737..f91f658 100644
> --- a/UefiCpuPkg/CpuMpPei/Microcode.c
> +++ b/UefiCpuPkg/CpuMpPei/Microcode.c
> @@ -209,8 +209,5 @@ MicrocodeDetect (
>  loaded microcode signature [0x%08x]\n", CurrentRevision,
> LatestRevision));
>ReleaseSpinLock(>MpLock);
>  }
> -MicrocodeInfo.Load = TRUE;
> -  } else {
> -MicrocodeInfo.Load = FALSE;
>}
>  }
> diff --git a/UefiCpuPkg/CpuMpPei/Microcode.h
> b/UefiCpuPkg/CpuMpPei/Microcode.h
> index f7d23a0..9656045 100644
> --- a/UefiCpuPkg/CpuMpPei/Microcode.h
> +++ b/UefiCpuPkg/CpuMpPei/Microcode.h
> @@ -25,7 +25,6 @@ typedef struct {
>VOID *MicrocodeData;
>UINTNMicrocodeSize;
>UINT32   ProcessorId;
> -  BOOLEAN  Load;
>  } MICROCODE_INFO;
> 
>  //
> --
> 2.7.4.windows.1

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] [Patch 3/3] UefiCpuPkg/CpuMpPei: Remove unnecessary variable

2016-07-01 Thread Jeff Fan
Cc: Michael Kinney 
Cc: Feng Tian 
Cc: Giri P Mudusuru 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan 
---
 UefiCpuPkg/CpuMpPei/Microcode.c | 3 ---
 UefiCpuPkg/CpuMpPei/Microcode.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/UefiCpuPkg/CpuMpPei/Microcode.c b/UefiCpuPkg/CpuMpPei/Microcode.c
index 51a0737..f91f658 100644
--- a/UefiCpuPkg/CpuMpPei/Microcode.c
+++ b/UefiCpuPkg/CpuMpPei/Microcode.c
@@ -209,8 +209,5 @@ MicrocodeDetect (
 loaded microcode signature [0x%08x]\n", CurrentRevision, 
LatestRevision));
   ReleaseSpinLock(>MpLock);
 }
-MicrocodeInfo.Load = TRUE;
-  } else {
-MicrocodeInfo.Load = FALSE;
   }
 }
diff --git a/UefiCpuPkg/CpuMpPei/Microcode.h b/UefiCpuPkg/CpuMpPei/Microcode.h
index f7d23a0..9656045 100644
--- a/UefiCpuPkg/CpuMpPei/Microcode.h
+++ b/UefiCpuPkg/CpuMpPei/Microcode.h
@@ -25,7 +25,6 @@ typedef struct {
   VOID *MicrocodeData;
   UINTNMicrocodeSize;
   UINT32   ProcessorId;
-  BOOLEAN  Load;
 } MICROCODE_INFO;
 
 //
-- 
2.7.4.windows.1

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel