net/virtio-user: fix comment
authorYong Wang <wang.yong19@zte.com.cn>
Fri, 23 Jun 2017 04:14:45 +0000 (00:14 -0400)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 4 Jul 2017 09:31:01 +0000 (11:31 +0200)
Since "rte_eal_dev_init()" has been removed, the comment referred to
it should be modified simultaneously.

Fixes: 9721b4d543a3 ("eal: remove unused device init function")

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_user_ethdev.c

index e9af946..b56a6d4 100644 (file)
@@ -388,7 +388,7 @@ virtio_user_eth_dev_free(struct rte_eth_dev *eth_dev)
 }
 
 /* Dev initialization routine. Invoked once for each virtio vdev at
- * EAL init time, see rte_eal_dev_init().
+ * EAL init time, see rte_bus_probe().
  * Returns 0 on success.
  */
 static int