Re: [PATCH 13/18] migration: Simplify decompress_data_with_multi_threads()

2023-06-22 Thread Lukas Straub
On Tue, 13 Jun 2023 16:57:52 +0200 Juan Quintela wrote: > Doing a break to do another break is just confused. Just call return > when we know we want to return. > > Signed-off-by: Juan Quintela Reviewed-by: Lukas Straub > --- > migration/ram-compress.c | 8 ++-- > 1 file changed, 2

[PATCH 13/18] migration: Simplify decompress_data_with_multi_threads()

2023-06-13 Thread Juan Quintela
Doing a break to do another break is just confused. Just call return when we know we want to return. Signed-off-by: Juan Quintela --- migration/ram-compress.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/migration/ram-compress.c b/migration/ram-compress.c index