It has no callers anymore. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- src/libvirt_private.syms | 1 - src/util/virdnsmasq.c | 9 --------- src/util/virdnsmasq.h | 1 - 3 files changed, 11 deletions(-) diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index 36f826e2ed..8ed50d1c45 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -2123,7 +2123,6 @@ dnsmasqAddDhcpHost; dnsmasqAddHost; dnsmasqCapsGet; dnsmasqCapsGetBinaryPath; -dnsmasqCapsGetVersion; dnsmasqCapsNewFromBinary; dnsmasqCapsNewFromBuffer; dnsmasqContextFree; diff --git a/src/util/virdnsmasq.c b/src/util/virdnsmasq.c index 016d9d64a8..d086647362 100644 --- a/src/util/virdnsmasq.c +++ b/src/util/virdnsmasq.c @@ -759,15 +759,6 @@ dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps) return caps ? caps->binaryPath : DNSMASQ; } -unsigned long -dnsmasqCapsGetVersion(dnsmasqCaps *caps) -{ - if (caps) - return caps->version; - else - return 0; -} - bool dnsmasqCapsGet(dnsmasqCaps *caps, dnsmasqCapsFlags flag) { diff --git a/src/util/virdnsmasq.h b/src/util/virdnsmasq.h index 9aa45c3046..10b512cff4 100644 --- a/src/util/virdnsmasq.h +++ b/src/util/virdnsmasq.h @@ -99,6 +99,5 @@ dnsmasqCaps *dnsmasqCapsNewFromBuffer(const char *buf); dnsmasqCaps *dnsmasqCapsNewFromBinary(void); bool dnsmasqCapsGet(dnsmasqCaps *caps, dnsmasqCapsFlags flag); const char *dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps); -unsigned long dnsmasqCapsGetVersion(dnsmasqCaps *caps); char *dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts, unsigned int nhosts); -- 2.31.1