[5/9] net/pcap: remove redundant rte_vdev_driver declaration
Checks
Commit Message
The rte_vdev_driver is declared twice.
The first one is not necessary.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/pcap/rte_eth_pcap.c | 2 --
1 file changed, 2 deletions(-)
Comments
On 7/11/2019 9:03 PM, Stephen Hemminger wrote:
> The rte_vdev_driver is declared twice.
> The first one is not necessary.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
@@ -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,