On Mon, Sep 26, 2022 at 06:29:46AM -0400, Deming Wang wrote:
> The variable is initialized but it is only used after its assignment.
>
> Signed-off-by: Deming Wang
The thing to do here is to move the first assigment to the
initialization.
> ---
> drivers/virtio/virtio_ring.c | 2 +-
> 1 file
On Mon, Sep 26, 2022 at 7:15 PM Deming Wang wrote:
>
> The variable is initialized but it is only used after its assignment.
>
> Signed-off-by: Deming Wang
Acked-by: Jason Wang
> ---
> drivers/virtio/virtio_ring.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git