bus/pci: remove VFIO status log in scan

Linux EAL triggers a scan on all buses, PCI included.
Once done, it configures VFIO.
Checking for VFIO status in the PCI bus scan is pointless.

Signed-off-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
David Marchand 2022-10-04 10:00:52 +02:00 committed by Thomas Monjalon
parent 390c482276
commit f13604fad1

View File

@ -448,11 +448,6 @@ rte_pci_scan(void)
if (!rte_eal_has_pci())
return 0;
#ifdef VFIO_PRESENT
if (!pci_vfio_is_enabled())
RTE_LOG(DEBUG, EAL, "VFIO PCI modules not loaded\n");
#endif
dir = opendir(rte_pci_get_sysfs_path());
if (dir == NULL) {
RTE_LOG(ERR, EAL, "%s(): opendir failed: %s\n",