]> git.proxmox.com Git - mirror_edk2.git/commitdiff
PerformancePkg Dp_App: Delete InitCumulativeData()
authorStar Zeng <star.zeng@intel.com>
Mon, 2 May 2016 08:40:54 +0000 (16:40 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 3 May 2016 04:42:44 +0000 (12:42 +0800)
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 <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>
PerformancePkg/Dp_App/Dp.c

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