mirror of https://github.com/acidanthera/audk.git
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:
parent
e1b59e085a
commit
60d222748a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue