eal: remove unused macros
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal_pci.c
index 2bbbeb0..54fcaf0 100644 (file)
@@ -156,10 +156,6 @@ fail:
        return NULL;
 }
 
-#ifndef OFF_MAX
-#define OFF_MAX              ((uint64_t)(off_t)-1)
-#endif
-
 static int
 pci_uio_map_secondary(struct rte_pci_device *dev)
 {
@@ -274,9 +270,6 @@ pci_uio_map_resource(struct rte_pci_device *dev)
        return (0);
 }
 
-/* parse the "resource" sysfs file */
-#define IORESOURCE_MEM  0x00000200
-
 /* Compare two PCI device addresses. */
 static int
 pci_addr_comparison(struct rte_pci_addr *addr, struct rte_pci_addr *addr2)