summaryrefslogtreecommitdiff
path: root/tools/virtio/linux/virtio.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-11-29 13:43:48 +0300
committerMichael S. Tsirkin <mst@redhat.com>2015-12-07 18:28:09 +0300
commit40c172e5d99220c8a99dbc4468e792c74494a596 (patch)
tree0096dc84684bf631b5ddcdf676211780e62b81fb /tools/virtio/linux/virtio.h
parentc13f99b7e945dad5273a8b7ee230f4d1f22d3354 (diff)
downloadlinux-40c172e5d99220c8a99dbc4468e792c74494a596.tar.xz
tools/virtio: move list macro stubs
Makes them more generally available. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/linux/virtio.h')
-rw-r--r--tools/virtio/linux/virtio.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/virtio/linux/virtio.h b/tools/virtio/linux/virtio.h
index a3e07016a440..ee125e714053 100644
--- a/tools/virtio/linux/virtio.h
+++ b/tools/virtio/linux/virtio.h
@@ -3,12 +3,6 @@
#include <linux/scatterlist.h>
#include <linux/kernel.h>
-/* TODO: empty stubs for now. Broken but enough for virtio_ring.c */
-#define list_add_tail(a, b) do {} while (0)
-#define list_del(a) do {} while (0)
-#define list_for_each_entry(a, b, c) while (0)
-/* end of stubs */
-
struct virtio_device {
void *dev;
u64 features;