From: Peter Krempa Date: Mon, 16 Sep 2019 16:58:25 +0000 (+0200) Subject: qemu: driver: Don't return anything from qemuDomainBlockStatsGatherTotals X-Git-Tag: v5.8.0-rc1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e25dfbf58ccf51c5e64f94b503c95e770e49612b;p=thirdparty%2Flibvirt.git qemu: driver: Don't return anything from qemuDomainBlockStatsGatherTotals Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index c18fa179f7..98583b4225 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -11412,7 +11412,7 @@ qemuDomainBlockResize(virDomainPtr dom, } -static int +static void qemuDomainBlockStatsGatherTotals(qemuBlockStatsPtr data, qemuBlockStatsPtr total) { @@ -11424,7 +11424,6 @@ qemuDomainBlockStatsGatherTotals(qemuBlockStatsPtr data, total->wr_total_times += data->wr_total_times; total->rd_total_times += data->rd_total_times; total->flush_total_times += data->flush_total_times; - return 0; }