[7/9] net/virtio_user: remove redundant rte_vdev_driver declaration
diff mbox series

Message ID 20190711200309.6134-8-stephen@networkplumber.org
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
  • redundant rte_vdev_driver declarations
Related show


Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Stephen Hemminger July 11, 2019, 8:03 p.m. UTC
The rte_vdev_driver is declared twice.
The first one is not necessary.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
 drivers/net/virtio/virtio_user_ethdev.c | 2 --
 1 file changed, 2 deletions(-)

diff mbox series

diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c
index 0a57db730cfd..3fc1725736b5 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)