summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-08-02 11:54:01 +0200
committerKevin Traynor <ktraynor@redhat.com>2019-09-13 10:37:20 +0100
commitc336efcff6b519e73c555b671788c93db865fb34 (patch)
treef330371bcc8e86c2b13900db3a3583b23b3c71ca
parent01faa37f26bd8c5bcfc960bc5aa31474957b69a4 (diff)
downloaddpdk-stable-c336efcff6b519e73c555b671788c93db865fb34.zip
dpdk-stable-c336efcff6b519e73c555b671788c93db865fb34.tar.gz
dpdk-stable-c336efcff6b519e73c555b671788c93db865fb34.tar.xz
bus/pci: remove unused x86 Linux constant
[ upstream commit b62f3aff913daff969bb88cded19f41ed98da772 ] This macro is unused after a previous fix. Fixes: fe822eb8c565 ("bus/pci: use IOVA DMA mask check when setting IOVA mode") Signed-off-by: David Marchand <david.marchand@redhat.com>
-rw-r--r--drivers/bus/pci/linux/pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c
index c99d523..74794a3 100644
--- a/drivers/bus/pci/linux/pci.c
+++ b/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;