|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH 03/11] migration: Refactor migration_incoming_setup() |
| Date: | Tue, 2 Jan 2024 11:02:22 +0100 |
| User-agent: | Mozilla Thunderbird |
On 31/12/23 10:30, Avihai Horon wrote:
Commit 6720c2b32725 ("migration: check magic value for deciding the
mapping of channels") extracted the only code that could fail in
migration_incoming_setup().
Now migration_incoming_setup() can't fail, so refactor it to return void
and remove errp parameter.
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
---
migration/migration.c | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
| [Prev in Thread] | Current Thread | [Next in Thread] |