Re: [PATCH v2 5/6] migration: simplify do_compress_ram_page

2021-12-23 Thread Peter Xu
On Tue, Dec 21, 2021 at 02:29:13PM +0100, Philippe Mathieu-Daudé wrote: > On 12/21/21 13:52, Juan Quintela wrote: > > The goto is not needed at all. > > > > Signed-off-by: Juan Quintela > > --- > > migration/ram.c | 11 +++ > > 1 file changed, 3 insertions(+), 8 deletions(-) > > > > dif

Re: [PATCH v2 5/6] migration: simplify do_compress_ram_page

2021-12-21 Thread Philippe Mathieu-Daudé
On 12/21/21 13:52, Juan Quintela wrote: > The goto is not needed at all. > > Signed-off-by: Juan Quintela > --- > migration/ram.c | 11 +++ > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/migration/ram.c b/migration/ram.c > index 4ee0369d6f..eddc85ffb0 100644 > --- a/

[PATCH v2 5/6] migration: simplify do_compress_ram_page

2021-12-21 Thread Juan Quintela
The goto is not needed at all. Signed-off-by: Juan Quintela --- migration/ram.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/migration/ram.c b/migration/ram.c index 4ee0369d6f..eddc85ffb0 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -1341,12 +1341,11 @