Skip to content

Commit

Permalink
bus/pci: remove unused x86 Linux constant
Browse files Browse the repository at this point in the history
[ upstream commit b62f3af ]

This macro is unused after a previous fix.

Fixes: fe822eb ("bus/pci: use IOVA DMA mask check when setting IOVA mode")

Signed-off-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
david-marchand authored and kevintraynor committed Sep 4, 2019
1 parent d1541e0 commit 41bcafb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/bus/pci/linux/pci.c
Expand Up @@ -583,7 +583,6 @@ pci_one_device_iommu_support_va(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 */
struct rte_pci_addr *addr = &dev->addr;
char filename[PATH_MAX];
FILE *fp;
Expand Down

0 comments on commit 41bcafb

Please sign in to comment.