On 9/17/19 9:49 PM, Laszlo Ersek wrote: > "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); > } > } >
Reviewed-by: Philippe Mathieu-Daude <[email protected]> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#47724): https://edk2.groups.io/g/devel/message/47724 Mute This Topic: https://groups.io/mt/34180204/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
