diff options
author | Jason Wang <jasowang@redhat.com> | 2014-11-27 01:41:21 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 05:06:33 -0500 |
commit | 2e73c716ba22b3b3df56be25132df2774967f2b1 (patch) | |
tree | 9aafa35e4f48f5ba6b7a7f45a140969e486c6c28 /drivers/vhost | |
parent | 51cdc3815f15cf1d6e25915965b34d5ea148e434 (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.h | 4 |
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 | ||
15 | struct vhost_device; | ||
16 | |||
17 | struct vhost_work; | 15 | struct vhost_work; |
18 | typedef void (*vhost_work_fn_t)(struct vhost_work *work); | 16 | typedef 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 | ||
57 | struct 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. */ |
60 | struct vhost_virtqueue { | 56 | struct vhost_virtqueue { |
61 | struct vhost_dev *dev; | 57 | struct vhost_dev *dev; |