]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: netdevip: remove unused VIR_NETDEV_FAMILY
authorJán Tomko <jtomko@redhat.com>
Mon, 27 Jul 2020 23:38:34 +0000 (01:38 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 05:23:45 +0000 (07:23 +0200)
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: cf0568b0af4ef4f903da1b184fc9b232c6f29457
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/util/virnetdevip.c

index 8b85c7beca9f65b432593939192ffe4b04666c66..409f062c5cde62ff2fff2b30f3ebbaa4302d075f 100644 (file)
 #ifdef __linux__
 # include <linux/sockios.h>
 # include <linux/if_vlan.h>
-# 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 */