[libvirt PATCH 06/17] util: remove DNSMASQ_RA_SUPPORT

Ján Tomko jtomko at redhat.com
Tue Dec 14 19:09:22 UTC 2021


Now that the macro is unused, delete it.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 src/util/virdnsmasq.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/util/virdnsmasq.h b/src/util/virdnsmasq.h
index 92c5d4129d..9b8aeef226 100644
--- a/src/util/virdnsmasq.h
+++ b/src/util/virdnsmasq.h
@@ -106,11 +106,3 @@ const char *dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps);
 unsigned long dnsmasqCapsGetVersion(dnsmasqCaps *caps);
 char *dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts,
                                unsigned int nhosts);
-
-#define DNSMASQ_RA_MAJOR_REQD 2
-#define DNSMASQ_RA_MINOR_REQD 64
-
-#define DNSMASQ_RA_SUPPORT(CAPS) \
-    (dnsmasqCapsGetVersion(CAPS) >= \
-     (DNSMASQ_RA_MAJOR_REQD * 1000000) + \
-     (DNSMASQ_RA_MINOR_REQD * 1000))
-- 
2.31.1




More information about the libvir-list mailing list