From: Matthias Gatto Date: Fri, 2 Sep 2016 15:05:21 +0000 (+0200) Subject: vhost: remove obsolete comment X-Git-Tag: spdx-start~5924 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=255c4829adbf68c5e7df7a3becf0465ddea5925f;p=dpdk.git vhost: remove obsolete comment As new_device and destroy_device use an int instead of a "struct virtio_net *", The comment about setting VIRTIO_DEV_RUNNING doesn't make sense anymore, plus If I've correctly understand the code, the drivers take care of setting the flag before calling the callbacks, so I guess that this comment is obsolet and I've remove it. Signed-off-by: Matthias Gatto Acked-by: Yuanhan Liu --- diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h index 9caa62216b..a88aecdc47 100644 --- a/lib/librte_vhost/rte_virtio_net.h +++ b/lib/librte_vhost/rte_virtio_net.h @@ -59,10 +59,6 @@ enum {VIRTIO_RXQ, VIRTIO_TXQ, VIRTIO_QNUM}; /** * Device and vring operations. - * - * Make sure to set VIRTIO_DEV_RUNNING to the device flags in new_device and - * remove it in destroy_device. - * */ struct virtio_net_device_ops { int (*new_device)(int vid); /**< Add device. */