net/pcap: remove redundant declaration

The rte_vdev_driver is declared twice.
The first one is not necessary.

Fixes: 050fe6e9ff ("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>
This commit is contained in:
Stephen Hemminger 2019-07-11 13:03:05 -07:00 committed by Ferruh Yigit
parent c55cf945cf
commit 22aeb6c706

View File

@ -1085,8 +1085,6 @@ get_infinite_rx_arg(const char *key __rte_unused,
return 0;
}
static struct rte_vdev_driver pmd_pcap_drv;
static int
pmd_init_internals(struct rte_vdev_device *vdev,
const unsigned int nb_rx_queues,