From 60d222748a31346904b6a10affe8026016ee7b51 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sat, 7 Sep 2019 02:07:55 +0200 Subject: EmulatorPkg/DxeTimerLib: drop superfluous cast "gTimerEvent" has type EFI_EVENT already, drop the superfluous cast. Cc: Andrew Fish Cc: Jordan Justen Cc: Ray Ni Signed-off-by: Laszlo Ersek Reviewed-by: Ray Ni Reviewed-by: Philippe Mathieu-Daude --- EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EmulatorPkg') diff --git a/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c b/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c index 1bbc9e0162..9c3e97e680 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); } } -- cgit v1.2.3