]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: simplify condition
authorJán Tomko <jtomko@redhat.com>
Thu, 8 Mar 2018 16:34:34 +0000 (17:34 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 8 Mar 2018 16:40:56 +0000 (17:40 +0100)
commit451407c8c449e979466d3cf4540481a1e6e2ca7d
tree268d3599c38bdaa5713edca433d71e313803ffc1
parentdadfba923ab020323885b2343e833d52770c3ca8
qemu: simplify condition

In qemuMigrationSrcRun, we already checked for non-NULL mig
and then dereferenced it. It's only possible for mig to be
NULL in the error section.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c