diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c index 9e852696d2..1896f9d16d 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -27,8 +27,6 @@ #include #include -#include - #include "PL031RealTimeClock.h" STATIC BOOLEAN mPL031Initialized = FALSE; @@ -310,7 +308,6 @@ LibRtcInitialize ( ) { EFI_STATUS Status; - EFI_HANDLE Handle; // Initialize RTC Base Address mPL031RtcBase = PcdGet32 (PcdPL031RtcBase); @@ -331,16 +328,6 @@ LibRtcInitialize ( return Status; } - // Install the protocol - Handle = NULL; - Status = gBS->InstallMultipleProtocolInterfaces ( - &Handle, - &gEfiRealTimeClockArchProtocolGuid, - NULL, - NULL - ); - ASSERT_EFI_ERROR (Status); - // // Register for the virtual address change event //