aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2014-11-27 01:41:21 -0500
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 05:06:33 -0500
commit2e73c716ba22b3b3df56be25132df2774967f2b1 (patch)
tree9aafa35e4f48f5ba6b7a7f45a140969e486c6c28 /drivers/vhost
parent51cdc3815f15cf1d6e25915965b34d5ea148e434 (diff)
vhost: remove unnecessary forward declarations in vhost.h
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>
Diffstat (limited to 'drivers/vhost')
-rw-r--r--drivers/vhost/vhost.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index a0a6c9857dd4..8c1c792900ba 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -12,8 +12,6 @@
12#include <linux/virtio_ring.h> 12#include <linux/virtio_ring.h>
13#include <linux/atomic.h> 13#include <linux/atomic.h>
14 14
15struct vhost_device;
16
17struct vhost_work; 15struct vhost_work;
18typedef void (*vhost_work_fn_t)(struct vhost_work *work); 16typedef void (*vhost_work_fn_t)(struct vhost_work *work);
19 17
@@ -54,8 +52,6 @@ struct vhost_log {
54 u64 len; 52 u64 len;
55}; 53};
56 54
57struct vhost_virtqueue;
58
59/* The virtqueue structure describes a queue attached to a device. */ 55/* The virtqueue structure describes a queue attached to a device. */
60struct vhost_virtqueue { 56struct vhost_virtqueue {
61 struct vhost_dev *dev; 57 struct vhost_dev *dev;