summary refs log tree commit diff stats
path: root/hw/intc/imx_gpcv2.c
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 /hw/intc/imx_gpcv2.c
parent4f8cf323e80c17f7d4b5604f1699591326df6262 (diff)
downloadfocaccia-qemu-b6f4c0c788d5a037197a0ed409e131ed2cec274a.tar.gz
focaccia-qemu-b6f4c0c788d5a037197a0ed409e131ed2cec274a.zip
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 'hw/intc/imx_gpcv2.c')
0 files changed, 0 insertions, 0 deletions