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

Bin Meng bmeng.cn at gmail.com
Fri Apr 22 10:55:16 CEST 2022


On Wed, Apr 13, 2022 at 10:22 PM Andrew Scull <ascull at google.com> 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 <ascull at google.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>  drivers/virtio/virtio_ring.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list