Skip to content

Commit 81a83d7

Browse files
Xianting Tianmstsirkin
authored andcommitted
virtio-balloon: Use virtio_find_vqs() helper
Use the helper virtio_find_vqs(). Signed-off-by: Xianting Tian <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 729ce5a commit 81a83d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/virtio/virtio_balloon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ static int init_vqs(struct virtio_balloon *vb)
531531
callbacks[VIRTIO_BALLOON_VQ_REPORTING] = balloon_ack;
532532
}
533533

534-
err = vb->vdev->config->find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX,
535-
vqs, callbacks, names, NULL, NULL);
534+
err = virtio_find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX, vqs,
535+
callbacks, names, NULL);
536536
if (err)
537537
return err;
538538

0 commit comments

Comments
 (0)