virtio-balloon: Use virtio_find_vqs() helper
Subsystems (2)
PATCH v2 1/1 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]>
--- drivers/virtio/virtio_balloon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/virtio/virtio_balloon.c +2 -2
@@ -531,8 +531,8 @@ static int init_vqs(struct virtio_balloon *vb) callbacks[VIRTIO_BALLOON_VQ_REPORTING ] = balloon_ack; } - err = vb->vdev->config->find_vqs (vb->vdev,VIRTIO_BALLOON_VQ_MAX , - vqs, callbacks, names,NULL ,NULL ); + err =virtio_find_vqs (vb->vdev,VIRTIO_BALLOON_VQ_MAX , vqs, + callbacks, names,NULL );if (err)return err;
Signature · 1 line
2.17.1