From a64413e078dc3864bf235bc4d967edfc08a19c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Tue, 28 Jul 2020 01:38:34 +0200 Subject: [PATCH] util: netdevip: remove unused VIR_NETDEV_FAMILY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ján Tomko Fixes: cf0568b0af4ef4f903da1b184fc9b232c6f29457 Reviewed-by: Jonathon Jongsma --- src/util/virnetdevip.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/util/virnetdevip.c b/src/util/virnetdevip.c index 8b85c7beca..409f062c5c 100644 --- a/src/util/virnetdevip.c +++ b/src/util/virnetdevip.c @@ -43,11 +43,6 @@ #ifdef __linux__ # include # include -# define VIR_NETDEV_FAMILY AF_UNIX -#elif defined(HAVE_STRUCT_IFREQ) && defined(AF_LOCAL) -# define VIR_NETDEV_FAMILY AF_LOCAL -#else -# undef HAVE_STRUCT_IFREQ #endif #define VIR_DAD_WAIT_TIMEOUT 20 /* seconds */