Skip to content

Commit

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

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>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
  • Loading branch information
shemminger authored and kevintraynor committed Aug 28, 2019
1 parent f8ad959 commit d8b58ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/null/rte_eth_null.c
Expand Up @@ -492,8 +492,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,
Expand Down

0 comments on commit d8b58ab

Please sign in to comment.