net/virtio_user: 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 <stephen@networkplumber.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
d10b972e25
commit
939aa0df04
@ -441,8 +441,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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user