Remove the ignored return values; Signed-off-by: Xuan Zhuo <xuanzhuo@xxxxxxxxxxxxxxxxx> --- drivers/virtio/virtio_ring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 51d8f3299c10..af310418e66e 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -2755,9 +2755,9 @@ int virtqueue_resize(struct virtqueue *_vq, u32 num, return err; if (vq->packed_ring) - err = virtqueue_resize_packed(_vq, num); + virtqueue_resize_packed(_vq, num); else - err = virtqueue_resize_split(_vq, num); + virtqueue_resize_split(_vq, num); return virtqueue_enable_after_reset(_vq); } -- 2.32.0.3.g01195cf9f _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization