]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virObjectEventCallbackListAddID: Remove pointless cleanup of 'cb'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Aug 2021 09:17:36 +0000 (11:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Aug 2021 06:53:26 +0000 (08:53 +0200)
commit8d4468d00791cccd0872c9a673988d8bc7b41105
treee3b498443bb4eef5603614ff2d18a477ca639547
parent0b450b0ad1fca16f08ec6b9cf4cefceeda09e659
virObjectEventCallbackListAddID: Remove pointless cleanup of 'cb'

'cb' is always NULL when 'virObjectEventCallbackListAddID' is called.
Remove the call.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/object_event.c