Reviewed-by: Ray Ni <ray...@intel.com> > -----Original Message----- > From: Laszlo Ersek <ler...@redhat.com> > Sent: Tuesday, September 17, 2019 12:49 PM > To: edk2-devel-groups-io <devel@edk2.groups.io> > Cc: Andrew Fish <af...@apple.com>; Justen, Jordan L > <jordan.l.jus...@intel.com>; Ni, Ray <ray...@intel.com> > Subject: [PATCH 05/35] EmulatorPkg/DxeTimerLib: drop superfluous cast > > "gTimerEvent" has type EFI_EVENT already, drop the superfluous cast. > > Cc: Andrew Fish <af...@apple.com> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Ray Ni <ray...@intel.com> > Signed-off-by: Laszlo Ersek <ler...@redhat.com> > --- > > 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 (#47424): https://edk2.groups.io/g/devel/message/47424 Mute This Topic: https://groups.io/mt/34180204/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-