From: Stephen Hemminger Date: Thu, 11 Jul 2019 20:03:04 +0000 (-0700) Subject: net/null: remove redundant declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c55cf945cf108be5f52a19a34345439abbdf366f;p=dpdk.git net/null: remove redundant declaration 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 Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index f1b521a756..31cbb84d03 100644 --- a/drivers/net/null/rte_eth_null.c +++ b/drivers/net/null/rte_eth_null.c @@ -490,8 +490,6 @@ static const struct eth_dev_ops ops = { .rss_hash_conf_get = eth_rss_hash_conf_get }; -static struct rte_vdev_driver pmd_null_drv; - static int eth_dev_null_create(struct rte_vdev_device *dev, unsigned packet_size,