aboutsummaryrefslogtreecommitdiff
path: root/migration/options.c
diff options
context:
space:
mode:
authorAvihai Horon <avihaih@nvidia.com>2023-12-31 11:30:16 +0200
committerPeter Xu <peterx@redhat.com>2024-01-04 09:52:42 +0800
commit3fc58efa938338a82e4d5c0c031e7e9c98e9544f (patch)
tree8ff22fb2d4d18ef25dc64cfa41b742a03132c1e4 /migration/options.c
parentb6f4c0c788d5a037197a0ed409e131ed2cec274a (diff)
migration/multifd: Remove unnecessary usage of local Error
According to Error API, usage of ERRP_GUARD() or a local Error instead of errp is needed if errp is passed to void functions, where it is later dereferenced to see if an error occurred. There are several places in multifd.c that use local Error although it is not needed. Change these places to use errp directly. Signed-off-by: Avihai Horon <avihaih@nvidia.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Link: https://lore.kernel.org/r/20231231093016.14204-12-avihaih@nvidia.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/options.c')
0 files changed, 0 insertions, 0 deletions