]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Remove non null 'vm' check from qemuMonitorOpen
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 17:37:05 +0000 (13:37 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:49:59 +0000 (13:49 -0400)
commit2f9703e094f1398cc1cf137d829c2886666f515d
treeb6e59b2a02500181a7136d202b79174bb8b8449a
parent802579b5d682ccf02928893f0cce6279543f9c4d
qemu: Remove non null 'vm' check from qemuMonitorOpen

The prototype requires not passing a NULL in the parameter and the callers
all would fail far before this code would fail if 'vm' was NULL, so just
remove the check.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_monitor.c