diff --git a/ArmPlatformPkg/PrePi/PrePi.c b/ArmPlatformPkg/PrePi/PrePi.c index 8cc43093b9..f16084673e 100644 --- a/ArmPlatformPkg/PrePi/PrePi.c +++ b/ArmPlatformPkg/PrePi/PrePi.c @@ -172,8 +172,6 @@ CEntryPoint ( ArmPlatformInitialize (MpId); if (PerformanceMeasurementEnabled ()) { - // Initialize the Timer Library to setup the Timer HW controller - TimerConstructor (); // We cannot call yet the PerformanceLib because the HOB List has not been initialized StartTimeStamp = GetPerformanceCounter (); } else { diff --git a/ArmPlatformPkg/PrePi/PrePi.h b/ArmPlatformPkg/PrePi/PrePi.h index b4ba292c32..4d6e3251d7 100644 --- a/ArmPlatformPkg/PrePi/PrePi.h +++ b/ArmPlatformPkg/PrePi/PrePi.h @@ -23,12 +23,6 @@ extern UINT64 mSystemMemoryEnd; -RETURN_STATUS -EFIAPI -TimerConstructor ( - VOID - ); - EFI_STATUS EFIAPI MemoryPeim (