From dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 18 Mar 2016 19:25:02 +0100 Subject: EdkCompatibilityPkg: EdkIIGlueLib: remove set but unused variables Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen Reviewed-by: Liming Gao Reviewed-by: Jeff Fan --- .../Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c index 5949025d2b..c6b0b15c4e 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); -- cgit v1.2.3