vhost: remove unnecessary forward declarations in vhost.h
authorJason Wang <jasowang@redhat.com>
Thu, 27 Nov 2014 06:41:21 +0000 (14:41 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:06:33 +0000 (12:06 +0200)
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.h

index a0a6c9857dd4c14019e34eabc22973f556b895af..8c1c792900ba15f74daa1123920c294ffa60df9c 100644 (file)
@@ -12,8 +12,6 @@
 #include <linux/virtio_ring.h>
 #include <linux/atomic.h>
 
-struct vhost_device;
-
 struct vhost_work;
 typedef void (*vhost_work_fn_t)(struct vhost_work *work);
 
@@ -54,8 +52,6 @@ struct vhost_log {
        u64 len;
 };
 
-struct vhost_virtqueue;
-
 /* The virtqueue structure describes a queue attached to a device. */
 struct vhost_virtqueue {
        struct vhost_dev *dev;