Commit 4d09f240 authored by Xuan Zhuo's avatar Xuan Zhuo Committed by Michael S. Tsirkin

virtio_ring: correct the expression of the description of virtqueue_resize()

Modify the "useless" to a more accurate "unused".
Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Message-Id: <20230810123057.43407-8-xuanzhuo@linux.alibaba.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent b319940f
...@@ -2678,7 +2678,7 @@ EXPORT_SYMBOL_GPL(vring_create_virtqueue_dma); ...@@ -2678,7 +2678,7 @@ EXPORT_SYMBOL_GPL(vring_create_virtqueue_dma);
* virtqueue_resize - resize the vring of vq * virtqueue_resize - resize the vring of vq
* @_vq: the struct virtqueue we're talking about. * @_vq: the struct virtqueue we're talking about.
* @num: new ring num * @num: new ring num
* @recycle: callback for recycle the useless buffer * @recycle: callback to recycle unused buffers
* *
* When it is really necessary to create a new vring, it will set the current vq * When it is really necessary to create a new vring, it will set the current vq
* into the reset state. Then call the passed callback to recycle the buffer * into the reset state. Then call the passed callback to recycle the buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment