diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2019-02-01 23:13:57 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-02-05 21:29:48 +0100 |
commit | 9c0644ee4aa8792f1e60a2b014b4710faaddafeb (patch) | |
tree | e0cebd49e0ccec658164d90fd5d4f122c89503e0 /include/uapi | |
parent | virtio: support VIRTIO_F_ORDER_PLATFORM (diff) | |
download | linux-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/uapi')
-rw-r--r-- | include/uapi/linux/virtio_ring.h | 10 |
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 */ |