提交 2e73c716 编写于 作者: J Jason Wang 提交者: Michael S. Tsirkin

vhost: remove unnecessary forward declarations in vhost.h

Signed-off-by: NJason Wang <jasowang@redhat.com>
Acked-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>


上级 51cdc381
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#include <linux/virtio_ring.h> #include <linux/virtio_ring.h>
#include <linux/atomic.h> #include <linux/atomic.h>
struct vhost_device;
struct vhost_work; struct vhost_work;
typedef void (*vhost_work_fn_t)(struct vhost_work *work); typedef void (*vhost_work_fn_t)(struct vhost_work *work);
...@@ -54,8 +52,6 @@ struct vhost_log { ...@@ -54,8 +52,6 @@ struct vhost_log {
u64 len; u64 len;
}; };
struct vhost_virtqueue;
/* The virtqueue structure describes a queue attached to a device. */ /* The virtqueue structure describes a queue attached to a device. */
struct vhost_virtqueue { struct vhost_virtqueue {
struct vhost_dev *dev; struct vhost_dev *dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册