Message ID | 1458815844-24793-6-git-send-email-lersek@redhat.com |
---|---|
State | Accepted |
Commit | dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419 |
Headers | show |
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c index 5949025d2bd6..c6b0b15c4ede 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c @@ -604,12 +604,10 @@ Returns: --*/ { - EFI_PERFORMANCE_INSTANCE *PerfInstance; EFI_PERF_DATA_LIST *Node; UINT64 TimerValue; TimerValue = 0; - PerfInstance = EFI_PERFORMANCE_FROM_THIS (This); Node = GetDataNode (Handle, Token, Host, NULL, NULL); if (!Node) { @@ -662,11 +660,8 @@ Returns: --*/ { - EFI_PERFORMANCE_INSTANCE *PerfInstance; EFI_PERF_DATA_LIST *Node; - PerfInstance = EFI_PERFORMANCE_FROM_THIS (This); - Node = GetDataNode (Handle, Token, Host, NULL, PrevGauge); if (Node != NULL) { return &(Node->GaugeData);
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c | 5 ----- 1 file changed, 5 deletions(-) -- 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel