From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Tue, 17 Sep 2019 12:49:56 -0700 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 322C53090FCD; Tue, 17 Sep 2019 19:49:56 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-37.rdu2.redhat.com [10.10.120.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9FDB600C4; Tue, 17 Sep 2019 19:49:54 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Andrew Fish , Jordan Justen , Ray Ni Subject: [PATCH 05/35] EmulatorPkg/DxeTimerLib: drop superfluous cast Date: Tue, 17 Sep 2019 21:49:05 +0200 Message-Id: <20190917194935.24322-6-lersek@redhat.com> In-Reply-To: <20190917194935.24322-1-lersek@redhat.com> References: <20190917194935.24322-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Tue, 17 Sep 2019 19:49:56 +0000 (UTC) Content-Transfer-Encoding: quoted-printable "gTimerEvent" has type EFI_EVENT already, drop the superfluous cast. Cc: Andrew Fish Cc: Jordan Justen Cc: Ray Ni Signed-off-by: Laszlo Ersek --- 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 =3D MultU64x32 (gTimerPeriod, 100); =20 if (gTimerEvent =3D=3D NULL) { - Status =3D gBS->CreateEvent (EVT_TIMER, 0, NULL, NULL, (VOID **)&g= TimerEvent); + Status =3D gBS->CreateEvent (EVT_TIMER, 0, NULL, NULL, &gTimerEven= t); ASSERT_EFI_ERROR (Status); } } --=20 2.19.1.3.g30247aa5d201