"gTimerEvent" has type EFI_EVENT already, drop the superfluous cast.

Cc: Andrew Fish <[email protected]>
Cc: Jordan Justen <[email protected]>
Cc: Ray Ni <[email protected]>
Signed-off-by: Laszlo Ersek <[email protected]>
---

Notes:
    build-tested only

 EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c 
b/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c
index 14cae4214c66..6fb5d8f3aaea 100644
--- a/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c
+++ b/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c
@@ -40,7 +40,7 @@ RegisterTimerArchProtocol (
     gTimerPeriod = MultU64x32 (gTimerPeriod, 100);
 
     if (gTimerEvent == NULL) {
-      Status = gBS->CreateEvent (EVT_TIMER, 0, NULL, NULL, (VOID 
**)&gTimerEvent);
+      Status = gBS->CreateEvent (EVT_TIMER, 0, NULL, NULL, &gTimerEvent);
       ASSERT_EFI_ERROR (Status);
     }
   }
-- 
2.19.1.3.g30247aa5d201



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#47392): https://edk2.groups.io/g/devel/message/47392
Mute This Topic: https://groups.io/mt/34180204/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to