diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-07-30 19:48:03 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-01 14:55:03 +0000 |
commit | 8c10017aa7eeb4f58da1fc353d7af3ecb69e4bf7 (patch) | |
tree | c5a0b40574bd558b22c72b94b9c4765982601b2c /ArmVirtPkg | |
parent | 1941a901f08893dfc2f2cb8a44c6172a9f7ae8e4 (diff) | |
download | edk2-8c10017aa7eeb4f58da1fc353d7af3ecb69e4bf7.tar.gz edk2-8c10017aa7eeb4f58da1fc353d7af3ecb69e4bf7.tar.bz2 edk2-8c10017aa7eeb4f58da1fc353d7af3ecb69e4bf7.zip |
ArmVirtPkg/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>
Diffstat (limited to 'ArmVirtPkg')
-rwxr-xr-x | ArmVirtPkg/PrePi/PrePi.c | 2 | ||||
-rw-r--r-- | ArmVirtPkg/PrePi/PrePi.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/ArmVirtPkg/PrePi/PrePi.c b/ArmVirtPkg/PrePi/PrePi.c index f27e0ad3d2..9dbb5af942 100755 --- a/ArmVirtPkg/PrePi/PrePi.c +++ b/ArmVirtPkg/PrePi/PrePi.c @@ -109,8 +109,6 @@ CEntryPoint ( UINT64 StartTimeStamp;
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/ArmVirtPkg/PrePi/PrePi.h b/ArmVirtPkg/PrePi/PrePi.h index 4bb9791e40..c00899b338 100644 --- a/ArmVirtPkg/PrePi/PrePi.h +++ b/ArmVirtPkg/PrePi/PrePi.h @@ -22,12 +22,6 @@ #define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);
-RETURN_STATUS
-EFIAPI
-TimerConstructor (
- VOID
- );
-
VOID
PrePiMain (
IN UINTN UefiMemoryBase,
|