]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: Drop pointless function virDomainMomentIsCurrentName
authorEric Blake <eblake@redhat.com>
Wed, 27 Mar 2019 08:17:46 +0000 (03:17 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 27 Mar 2019 13:13:24 +0000 (08:13 -0500)
commit3d7c683a270439072dbaf0dc21e4a7a9b4f7a8fe
treed336ad1a64ede15328e9bcad081e439892cb9fc3
parent0bc965342b37a42b3649c64fd08acf0a1bcea1f2
snapshot: Drop pointless function virDomainMomentIsCurrentName

The qemu driver already had a full-blown virDomainMomentObjPtr to
check against, and the test driver ought to have one since we get
better error checking that the user passed in a valid object. Removes
the need for a helper function added in commit commit 4819f54b.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/virdomainmomentobjlist.c
src/conf/virdomainmomentobjlist.h
src/conf/virdomainsnapshotobjlist.c
src/conf/virdomainsnapshotobjlist.h
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/test/test_driver.c