Skip to content
Permalink
Browse files

bus/pci: remove unused x86 Linux constant

[ upstream commit b62f3aff913daff969bb88cded19f41ed98da772 ]

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 Aug 2, 2019
1 parent d1541e0 commit 41bcafb3b891e8c882d609ca5ef88f6463b6dcd4
Showing with 0 additions and 1 deletion.
  1. +0 −1 drivers/bus/pci/linux/pci.c
@@ -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;

0 comments on commit 41bcafb

Please sign in to comment.
You can’t perform that action at this time.