qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 06/11] migration/multifd: Simplify multifd_channel_connect()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 06/11] migration/multifd: Simplify multifd_channel_connect() if else statement
Date: Tue, 2 Jan 2024 11:03:29 +0100
User-agent: Mozilla Thunderbird

On 31/12/23 10:30, Avihai Horon wrote:
The else branch in multifd_channel_connect() is redundant because when
the if branch is taken the function returns.

Simplify the code by removing the else branch.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
---
  migration/multifd.c | 13 ++++++-------
  1 file changed, 6 insertions(+), 7 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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