From f13604fad12a81383da7b04821a4befb3d01e2ed Mon Sep 17 00:00:00 2001 From: David Marchand Date: Tue, 4 Oct 2022 10:00:52 +0200 Subject: [PATCH] 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 --- drivers/bus/pci/linux/pci.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index ade17079fc..ebd1395502 100644 --- a/drivers/bus/pci/linux/pci.c +++ b/drivers/bus/pci/linux/pci.c @@ -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",