vhost: remove unnecessary forward declarations in vhost.h
Subsystems (5)
PATCH 1/1 vhost: remove unnecessary forward declarations in vhost.h
Signed-off-by Jason Wang <[email protected]>
--- drivers/vhost/vhost.h | 4 ---- 1 file changed, 4 deletions(-)
drivers/vhost/vhost.h +0 -4
@@ -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
David Miller
maintainerFrom: Jason Wang <[email protected]>
Date: Thu, 27 Nov 2014 14:41:21 +0800
Quoted 1 line
Signed-off-by Jason Wang <[email protected]>
I don't think generic vhost patches should go via my tree.
If you disagree, let me know why, thanks :)
Quoted 8 lines · David Miller
From: Jason Wang <[email protected]>
Date: Thu, 27 Nov 2014 14:41:21 +0800Quoted 1 line
Signed-off-by Jason Wang <[email protected]>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?
Quoted 1 line · Jason Wang
Signed-off-by Jason Wang <[email protected]>
Applied, thanks.
Quoted 28 lines
--- drivers/vhost/vhost.h | 4 ---- 1 file changed, 4 deletions(-)drivers/vhost/vhost.h +0
-4@@ -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