]> xenbits.xensource.com Git - libvirt.git/commit
hyperv: Don't overwrite errors from hypervCreateInvokeParamsList()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 21 Oct 2020 12:25:37 +0000 (14:25 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 22 Oct 2020 14:11:56 +0000 (16:11 +0200)
commit458e2d6fc581f3f646f428c01c0d687c14cefef2
tree5a8f4aef84d6a25e8279b20e73fc6688684cc4d9
parent4505f11d65ed4377733e2a05b6ab42127f8fa00d
hyperv: Don't overwrite errors from hypervCreateInvokeParamsList()

The hypervCreateInvokeParamsList() function sets an error on a
failure, therefore there is no need to report another error in
callers.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Matt Coleman <matt@datto.com>
src/hyperv/hyperv_driver.c