]> git.droids-corp.org - dpdk.git/commitdiff
bus/pci: remove unused x86 Linux constant
authorDavid Marchand <david.marchand@redhat.com>
Fri, 2 Aug 2019 09:54:01 +0000 (11:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Aug 2019 10:02:20 +0000 (12:02 +0200)
This macro is unused after a previous fix.

Fixes: fe822eb8c565 ("bus/pci: use IOVA DMA mask check when setting IOVA mode")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
drivers/bus/pci/linux/pci.c

index 1d8d20d93ef1cbea9bf7ac6d02242db2f3523616..f4fb7427b592c8b13e67a8a9607d657ec85e27a2 100644 (file)
@@ -503,7 +503,6 @@ pci_one_device_iommu_support_va(const struct rte_pci_device *dev)
 {
 #define VTD_CAP_MGAW_SHIFT     16
 #define VTD_CAP_MGAW_MASK      (0x3fULL << VTD_CAP_MGAW_SHIFT)
-#define X86_VA_WIDTH 47 /* From Documentation/x86/x86_64/mm.txt */
        const struct rte_pci_addr *addr = &dev->addr;
        char filename[PATH_MAX];
        FILE *fp;