The rte_vdev_driver is declared twice.
The first one is not necessary.
Fixes:
050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
-static struct rte_vdev_driver pmd_pcap_drv;
-
static int
pmd_init_internals(struct rte_vdev_device *vdev,
const unsigned int nb_rx_queues,
static int
pmd_init_internals(struct rte_vdev_device *vdev,
const unsigned int nb_rx_queues,