summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 19:25:02 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-25 10:52:11 +0100
commitdbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419 (patch)
treea5a57bed4c14b2a776fee96afa6face1375238d6 /EdkCompatibilityPkg
parentd0f3dad373feeda70f880a42539d998e700c566d (diff)
downloadedk2-platforms-dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419.tar.xz
EdkCompatibilityPkg: EdkIIGlueLib: remove set but unused variables
Cc: Liming Gao <liming.gao@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: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/PerformanceLib.c5
1 files changed, 0 insertions, 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);