From: Stephen Hemminger Date: Thu, 11 Jul 2019 20:03:07 +0000 (-0700) Subject: net/virtio_user: remove redundant declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=939aa0df044d856d36b0eb44231f03dc28ede6aa;p=dpdk.git 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 Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c index 0a57db730c..3fc1725736 100644 --- a/drivers/net/virtio/virtio_user_ethdev.c +++ b/drivers/net/virtio/virtio_user_ethdev.c @@ -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) {