On 5/26/21 10:14 PM, Laszlo Ersek wrote: > At this point, the IncompatiblePciDeviceSupportDxe driver is included in > the following platforms in edk2: > > OvmfPkg/AmdSev/AmdSevX64.dsc > OvmfPkg/OvmfPkgIa32.dsc > OvmfPkg/OvmfPkgIa32X64.dsc > OvmfPkg/OvmfPkgX64.dsc > > All those platforms inherit FALSE for "PcdPciDisableBusEnumeration" from > "MdeModulePkg.dec". > > This makes the PcdGetBool() call in the entry point of the driver > superfluous; remove it. Clean up now unused dependencies in the INF file > as well. > > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Philippe Mathieu-Daudé <phi...@redhat.com> > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 > Signed-off-by: Laszlo Ersek <ler...@redhat.com> > --- > OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf | > 2 -- > OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c | > 10 +++------- > 2 files changed, 3 insertions(+), 9 deletions(-)
Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75769): https://edk2.groups.io/g/devel/message/75769 Mute This Topic: https://groups.io/mt/83110873/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-