summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2022-08-16 00:04:20 +0200
committerMichael S. Tsirkin <mst@redhat.com>2022-10-07 15:32:40 +0200
commitcdbd952bb7b5fca36676b3d318796b196b127397 (patch)
treeb1f28a3fc7d52b78e19a889c021fb5425b7f5a05
parentvirtio_ring: make vring_alloc_queue_packed prettier (diff)
downloadlinux-cdbd952bb7b5fca36676b3d318796b196b127397.tar.xz
linux-cdbd952bb7b5fca36676b3d318796b196b127397.zip
virtio: drop vp_legacy_set_queue_size
There's actually no way to set queue size on legacy virtio pci. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20220815220447.155860-1-mst@redhat.com>
-rw-r--r--include/linux/virtio_pci_legacy.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/virtio_pci_legacy.h b/include/linux/virtio_pci_legacy.h
index e5d665faf00e..a8dc757d0367 100644
--- a/include/linux/virtio_pci_legacy.h
+++ b/include/linux/virtio_pci_legacy.h
@@ -32,8 +32,6 @@ void vp_legacy_set_queue_address(struct virtio_pci_legacy_device *ldev,
u16 index, u32 queue_pfn);
bool vp_legacy_get_queue_enable(struct virtio_pci_legacy_device *ldev,
u16 idx);
-void vp_legacy_set_queue_size(struct virtio_pci_legacy_device *ldev,
- u16 idx, u16 size);
u16 vp_legacy_get_queue_size(struct virtio_pci_legacy_device *ldev,
u16 idx);
int vp_legacy_probe(struct virtio_pci_legacy_device *ldev);