From e314af1578faa4b2a49500be18434a5f7c07182b Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 17 May 2016 11:59:48 +0200 Subject: [PATCH] pci: remove invalid comment In a previous commit, the file used to map the PCI resources changed from "/dev/uio" to "/sys/bus/pci/devices//resource", making the comment wrong. Remove it. Fixes: 9e67561acd1a ("eal/linux: mmap uio resources using resourceX files") Signed-off-by: Olivier Matz --- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c index b8332440bb..82ba93b57d 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c @@ -309,7 +309,7 @@ pci_uio_map_resource_by_index(struct rte_pci_device *dev, int res_idx, struct mapped_pci_resource *uio_res, int map_idx) { int fd; - char devname[PATH_MAX]; /* contains the /dev/uioX */ + char devname[PATH_MAX]; void *mapaddr; struct rte_pci_addr *loc; struct pci_map *maps; -- 2.20.1