virtio-vdpa: Remove virtqueue list
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 29 May 2025 07:30:27 +0000 (13:00 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 13:11:08 +0000 (09:11 -0400)
commit4d0efa600ecf30aa61c14681164290f75c328f8a
treedad156bb4d03abb38e528ce5bb35310ede8422b8
parent564a69ad90d15c782176e1a8c9e1c95661e1aed0
virtio-vdpa: Remove virtqueue list

The virtio vdpa implementation creates a list of virtqueues, while the
same is already available in the struct virtio_device.

This list is never traversed though, and only the pointer to the struct
virtio_vdpa_vq_info is used in the callback, where the virtqueue pointer
could be directly used.

Remove the unwanted code to simplify the driver.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Message-Id: <7808f2f7e484987b95f172fffb6c71a5da20ed1e.1748503784.git.viresh.kumar@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
drivers/virtio/virtio_vdpa.c