ArmPlatformPkg/PrePi: Drop call to TimerConstructor()

Drop the call to the TimerConstructor, which should not be called
explicitly, and does nothing useful to begin with.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Ard Biesheuvel 2024-07-30 19:49:35 +02:00 committed by mergify[bot]
parent 8c10017aa7
commit e76b248d8f
2 changed files with 0 additions and 8 deletions

View File

@ -172,8 +172,6 @@ CEntryPoint (
ArmPlatformInitialize (MpId); ArmPlatformInitialize (MpId);
if (PerformanceMeasurementEnabled ()) { 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 // We cannot call yet the PerformanceLib because the HOB List has not been initialized
StartTimeStamp = GetPerformanceCounter (); StartTimeStamp = GetPerformanceCounter ();
} else { } else {

View File

@ -23,12 +23,6 @@
extern UINT64 mSystemMemoryEnd; extern UINT64 mSystemMemoryEnd;
RETURN_STATUS
EFIAPI
TimerConstructor (
VOID
);
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
MemoryPeim ( MemoryPeim (