[PATCH net-next] vhost: remove unnecessary forward declarations in vhost.h

Subsystems: the rest, virtio host (vhost)

STALE4262d

4 messages, 3 authors, 2014-12-01 · open the first message on its own page

[PATCH net-next] vhost: remove unnecessary forward declarations in vhost.h

From: Jason Wang <hidden>
Date: 2014-11-27 06:41:30

Signed-off-by: Jason Wang <redacted>
---
 drivers/vhost/vhost.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 3eda654..7d039ef 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -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;
-- 
1.9.1

Re: [PATCH net-next] vhost: remove unnecessary forward declarations in vhost.h

From: David Miller <davem@davemloft.net>
Date: 2014-11-30 05:00:16

From: Jason Wang <redacted>
Date: Thu, 27 Nov 2014 14:41:21 +0800
Signed-off-by: Jason Wang <redacted>
I don't think generic vhost patches should go via my tree.

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

Re: [PATCH net-next] vhost: remove unnecessary forward declarations in vhost.h

From: Jason Wang <hidden>
Date: 2014-12-01 05:34:58


On Sun, Nov 30, 2014 at 1:04 PM, David Miller [off-list ref] 
wrote:
From: Jason Wang <redacted>
Date: Thu, 27 Nov 2014 14:41:21 +0800
quoted
 Signed-off-by: Jason Wang [off-list ref]
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?

Re: [PATCH net-next] vhost: remove unnecessary forward declarations in vhost.h

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2014-12-01 09:18:39

On Thu, Nov 27, 2014 at 02:41:21PM +0800, Jason Wang wrote:
Signed-off-by: Jason Wang <redacted>
Applied, thanks.
quoted hunk
---
 drivers/vhost/vhost.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 3eda654..7d039ef 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -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;
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help