mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
d0f3dad373
commit
dbd62b34bc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue