summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-02-01 23:13:57 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-02-05 21:29:48 +0100
commit9c0644ee4aa8792f1e60a2b014b4710faaddafeb (patch)
treee0cebd49e0ccec658164d90fd5d4f122c89503e0 /include
parentvirtio: support VIRTIO_F_ORDER_PLATFORM (diff)
downloadlinux-9c0644ee4aa8792f1e60a2b014b4710faaddafeb.tar.xz
linux-9c0644ee4aa8792f1e60a2b014b4710faaddafeb.zip
virtio: drop internal struct from UAPI
There's no reason to expose struct vring_packed in UAPI - if we do we won't be able to change or drop it, and it's not part of any interface. Let's move it to virtio_ring.c Cc: Tiwei Bie <tiwei.bie@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/virtio_ring.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/uapi/linux/virtio_ring.h b/include/uapi/linux/virtio_ring.h
index 2414f8af26b3..4c4e24c291a5 100644
--- a/include/uapi/linux/virtio_ring.h
+++ b/include/uapi/linux/virtio_ring.h
@@ -213,14 +213,4 @@ struct vring_packed_desc {
__le16 flags;
};
-struct vring_packed {
- unsigned int num;
-
- struct vring_packed_desc *desc;
-
- struct vring_packed_desc_event *driver;
-
- struct vring_packed_desc_event *device;
-};
-
#endif /* _UAPI_LINUX_VIRTIO_RING_H */