diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-18 19:25:02 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-25 10:52:11 +0100 |
commit | dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419 (patch) | |
tree | a5a57bed4c14b2a776fee96afa6face1375238d6 /EdkCompatibilityPkg | |
parent | d0f3dad373feeda70f880a42539d998e700c566d (diff) | |
download | edk2-dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419.tar.gz edk2-dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419.tar.bz2 edk2-dbd62b34bcacd8aa2b8ded6a1104b6c14ddf3419.zip |
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.c | 5 |
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);
|