error: Drop some obviously superfluous error_propagate()
commit6c37ebf3301ca449ebe449138b86e55762503250
authorMarkus Armbruster <armbru@redhat.com>
Mon, 21 Nov 2022 08:50:45 +0000 (21 09:50 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 14 Dec 2022 15:19:35 +0000 (14 16:19 +0100)
tree1b0e28279ef42b2cce3936f961618c7dc627b0b7
parent3d558330adec7233da6c48c5e8584eb176fb77d7
error: Drop some obviously superfluous error_propagate()

When error_propagate(errp, local_err) is the only reader of
@local_err, we can just as well change its writers to write @errp
directly, and drop the error_propagate() along with @local_err.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221121085054.683122-2-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/virt.c
hw/hyperv/vmbus.c
qga/commands-win32.c