job->newstate is now used internally all the time so there's no need to clear it as it already has correct value. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/qemu/qemu_blockjob.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_blockjob.c b/src/qemu/qemu_blockjob.c index 34a4047210..a4662342a7 100644 --- a/src/qemu/qemu_blockjob.c +++ b/src/qemu/qemu_blockjob.c @@ -428,7 +428,6 @@ qemuBlockJobSyncBegin(qemuBlockJobDataPtr job) VIR_DEBUG("disk=%s", NULLSTR(diskdst)); job->synchronous = true; - job->newstate = -1; } -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list