]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virdnsmasq: Join dnsmasqCapsNewEmpty() and dnsmasqCapsNewFromBinary()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 12 Jan 2022 04:58:39 +0000 (05:58 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Jan 2022 15:18:57 +0000 (16:18 +0100)
commit11627e021de282ebea64b718d90e170e0a30e6a8
treebe327e1f4c588dbb2e3505e6d7caffaf54eb1ebf
parentd7303922936847266923eb7ff9c9f32b799b2529
virdnsmasq: Join dnsmasqCapsNewEmpty() and dnsmasqCapsNewFromBinary()

After previous cleanups, there's just one caller of
dnsmasqCapsNewEmpty() and it is dnsmasqCapsNewFromBinary().
And the former is pretty short. Therefore, it is not necessary
for the code to live in two separate functions. Dissolve the
former in the latter.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/util/virdnsmasq.c