Daniel Henrique Barboza <danielhb...@gmail.com> 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 <quint...@redhat.com>
> CC: Dr. David Alan Gilbert <dgilb...@redhat.com>
> Signed-off-by: Daniel Henrique Barboza <danielhb...@gmail.com>

Reviewed-by: Juan Quintela <quint...@redhat.com>


Reply via email to