From e25dfbf58ccf51c5e64f94b503c95e770e49612b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 16 Sep 2019 18:58:25 +0200 Subject: [PATCH] qemu: driver: Don't return anything from qemuDomainBlockStatsGatherTotals MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/qemu/qemu_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.47.2