Skip to content

Commit

Permalink
net/pcap: remove redundant declaration
Browse files Browse the repository at this point in the history
[ upstream commit 22aeb6c ]

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

Fixes: 050fe6e ("drivers/net: use ethdev allocation helper for vdev")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
  • Loading branch information
shemminger authored and kevintraynor committed Aug 28, 2019
1 parent d8b58ab commit 396f610
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/pcap/rte_eth_pcap.c
Expand Up @@ -908,8 +908,6 @@ select_phy_mac(const char *key __rte_unused, const char *value,
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,
Expand Down

0 comments on commit 396f610

Please sign in to comment.