EmulatorPkg/DxeTimerLib: drop superfluous cast

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

Cc: Andrew Fish <afish@apple.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
This commit is contained in:
Laszlo Ersek 2019-09-07 02:07:55 +02:00
parent e1b59e085a
commit 60d222748a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}