Skip to contentSkip to conversation

vhost: remove unnecessary forward declarations in vhost.h

PATCH Applied Jason Wang 3 participants 4 messages Nov 27, 2014 – Dec 1, 2014

Subsystems (5)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 vhost: remove unnecessary forward declarations in vhost.h

---
 drivers/vhost/vhost.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/vhost/vhost.h +0 -4
index 3eda654..7d039ef 100644
@@ -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;
Signature · 1 line
1.9.1
author
#2 lore raw
Quoted 8 lines · David Miller

From: Jason Wang <[email protected]>
Date: Thu, 27 Nov 2014 14:41:21 +0800

Quoted 1 line

I don't think generic vhost patches should go via my tree.

If you disagree, let me know why, thanks :)

Agree. Michael, could you pls pick this into vhost tree?

maintainer Applied
#3 lore raw
In reply to Jason Wang
Quoted 1 line · Jason Wang

Applied, thanks.

Quoted 28 lines
---
 drivers/vhost/vhost.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/vhost/vhost.h +0 -4
index 3eda654..7d039ef 100644
@@ -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;
Signature · 1 line
1.9.1