From bd1f3888607c9a35b402c03e819f339342299199 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Mon, 2 May 2016 16:40:54 +0800 Subject: [PATCH] PerformancePkg Dp_App: Delete InitCumulativeData() InitCumulativeData is introduced by d28f77df0f51f84b0af79f09abe2c27b1f1aaa69, it is needed by ShellPkg UefiDpLib, but not needed by PerformancePkg Dp_App. This patch is to delete it. Cc: Cinnamon Shia Cc: Jaben Carsey Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Cinnamon Shia Reviewed-by: Jaben Carsey --- PerformancePkg/Dp_App/Dp.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/PerformancePkg/Dp_App/Dp.c b/PerformancePkg/Dp_App/Dp.c index 283b61ccd4..6d980e5c55 100644 --- a/PerformancePkg/Dp_App/Dp.c +++ b/PerformancePkg/Dp_App/Dp.c @@ -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.