net/virtio_user: remove redundant declaration
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 11 Jul 2019 20:03:07 +0000 (13:03 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit939aa0df044d856d36b0eb44231f03dc28ede6aa
tree449caa1e046df27fea4c6f3a580aeadcf54e418f
parentd10b972e25708aecbbca639abded877561b267d2
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>
drivers/net/virtio/virtio_user_ethdev.c