Skip to content

Commit

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

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 293cd19 commit 5302e07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/virtio/virtio_user_ethdev.c
Expand Up @@ -396,8 +396,6 @@ get_integer_arg(const char *key __rte_unused,
return 0;
}

static struct rte_vdev_driver virtio_user_driver;

static struct rte_eth_dev *
virtio_user_eth_dev_alloc(struct rte_vdev_device *vdev)
{
Expand Down

0 comments on commit 5302e07

Please sign in to comment.