[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 05/59] ram.c: remove unneeded labels

From: Juan Quintela
Subject: Re: [PATCH v1 05/59] ram.c: remove unneeded labels
Date: Wed, 08 Jan 2020 13:41:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Daniel Henrique Barboza <address@hidden> wrote:
> ram_save_queue_pages() has an 'err' label that can be replaced by
> 'return -1' instead.
> Same thing with ram_discard_range(), and in this case we can also
> get rid of the 'ret' variable and return either '-1' on error
> or the result of ram_block_discard_range().
> CC: Juan Quintela <address@hidden>
> CC: Dr. David Alan Gilbert <address@hidden>
> Signed-off-by: Daniel Henrique Barboza <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]