net/null: 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>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Stephen Hemminger 2019-07-11 13:03:04 -07:00 committed by Ferruh Yigit
parent fa119dc472
commit c55cf945cf

View File

@ -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,