PerformancePkg Dp_App: Delete InitCumulativeData()

InitCumulativeData is introduced by d28f77df0f,
it is needed by ShellPkg UefiDpLib, but not needed by PerformancePkg Dp_App.

This patch is to delete it.

Cc: Cinnamon Shia <cinnamon.shia@hpe.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
Star Zeng 2016-05-02 16:40:54 +08:00
parent 0cd1e699e5
commit bd1f388860
1 changed files with 0 additions and 19 deletions

View File

@ -183,25 +183,6 @@ DumpStatistics( void )
FreePool (StringPtrUnknown);
}
/**
Initialize the cumulative data.
**/
VOID
InitCumulativeData (
VOID
)
{
UINTN Index;
for (Index = 0; Index < NumCum; ++Index) {
CumData[Index].Count = 0;
CumData[Index].MinDur = PERF_MAXDUR;
CumData[Index].MaxDur = 0;
CumData[Index].Duration = 0;
}
}
/**
Dump performance data.