diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-03-06 18:19:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-05-02 23:41:42 +0300 |
commit | 9b2bbdb227588455afcc3b03475fa9b0a35d83af (patch) | |
tree | 38ec6fe9fbfafcc7a388da21d7ec42a668111ec1 /drivers/virtio/virtio_balloon.c | |
parent | 4f6d9bfc882450631251052756ed84658ec88a70 (diff) | |
download | linux-rt-9b2bbdb227588455afcc3b03475fa9b0a35d83af.tar.gz |
virtio: wrap find_vqs
We are going to add more parameters to find_vqs, let's wrap the call so
we don't need to tweak all drivers every time.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r-- | drivers/virtio/virtio_balloon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 34adf9b9c053..408c174ef0d5 100644 --- a/drivers/virtio/virtio_balloon.c +++ b/drivers/virtio/virtio_balloon.c @@ -418,8 +418,7 @@ static int init_vqs(struct virtio_balloon *vb) * optionally stat. */ nvqs = virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ) ? 3 : 2; - err = vb->vdev->config->find_vqs(vb->vdev, nvqs, vqs, callbacks, names, - NULL); + err = virtio_find_vqs(vb->vdev, nvqs, vqs, callbacks, names, NULL); if (err) return err; |