Re: [PATCH v2 01/12] virtio_ring: Merge identical variables

2022-04-22 Thread Bin Meng
On Wed, Apr 13, 2022 at 10:22 PM Andrew Scull wrote: > > The variables `total_sg` and `descs_used` have the same value. Replace > the few uses of `total_sg` with `descs_used` to simplify the situation. > > Signed-off-by: Andrew Scull > Reviewed-by: Simon Glass > --- > drivers/virtio/virtio_ring

[PATCH v2 01/12] virtio_ring: Merge identical variables

2022-04-13 Thread Andrew Scull
The variables `total_sg` and `descs_used` have the same value. Replace the few uses of `total_sg` with `descs_used` to simplify the situation. Signed-off-by: Andrew Scull Reviewed-by: Simon Glass --- drivers/virtio/virtio_ring.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff