aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorAvihai Horon <avihaih@nvidia.com>2023-12-31 11:30:15 +0200
committerPeter Xu <peterx@redhat.com>2024-01-04 09:52:42 +0800
commitb6f4c0c788d5a037197a0ed409e131ed2cec274a (patch)
tree6d0b233896fb942e4ea11c04273c81dbe37f3b25 /scripts/qapi/parser.py
parent4f8cf323e80c17f7d4b5604f1699591326df6262 (diff)
downloadqemu-b6f4c0c788d5a037197a0ed409e131ed2cec274a.zip
qemu-b6f4c0c788d5a037197a0ed409e131ed2cec274a.tar.gz
qemu-b6f4c0c788d5a037197a0ed409e131ed2cec274a.tar.bz2
migration: 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 migration.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: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20231231093016.14204-11-avihaih@nvidia.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions