summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@6wind.com>2016-07-11 16:40:45 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-11 17:48:49 +0200
commitcb9905716896e207b0e85c1d628549d0a966db5a (patch)
treedcdafd181f751f9d91aafd82f6046308fb3432c2 /drivers
parent882aa9c6e2e19fefbbb4c3fc93cfd063658abb02 (diff)
downloaddpdk-cb9905716896e207b0e85c1d628549d0a966db5a.zip
dpdk-cb9905716896e207b0e85c1d628549d0a966db5a.tar.gz
dpdk-cb9905716896e207b0e85c1d628549d0a966db5a.tar.xz
net/ena: remove unneeded PCI macro
I suppose this is a remnant of rte_pci_dev_ids.h, just remove this. Signed-off-by: David Marchand <david.marchand@6wind.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ena/ena_ethdev.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index f1b5e64..ac0803d 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -169,10 +169,9 @@ static const struct ena_stats ena_stats_ena_com_strings[] = {
#define PCI_DEVICE_ID_ENA_LLQ_VF 0xEC21
static struct rte_pci_id pci_id_ena_map[] = {
-#define RTE_PCI_DEV_ID_DECL_ENA(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
- RTE_PCI_DEV_ID_DECL_ENA(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_VF)
- RTE_PCI_DEV_ID_DECL_ENA(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_LLQ_VF)
- {.device_id = 0},
+ { RTE_PCI_DEVICE(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_VF) },
+ { RTE_PCI_DEVICE(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_LLQ_VF) },
+ { .device_id = 0 },
};
static int ena_device_init(struct ena_com_dev *ena_dev,