From: kn Date: Wed, 23 Nov 2022 19:35:18 +0000 (+0000) Subject: Remove unused struct in6_ndifreq; dead since 2013 sys/netinet6/in6_var.h r1.37 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=77a8ef7febeb5110c0c2741dba3a73822463d4ce;p=openbsd Remove unused struct in6_ndifreq; dead since 2013 sys/netinet6/in6_var.h r1.37 Remove unused code manipulating a default interface and its index This is a leftover from the on-link assumption behavior removal, which has been deprecated by RFC4861 anyway. Outside of _KERNEL, but nothing in base uses it, either. codesearch.debian.net seems to agree. OK mvs claudio bluhm --- diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h index 942ce4bce11..91d384f2de4 100644 --- a/sys/netinet6/nd6.h +++ b/sys/netinet6/nd6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.h,v 1.87 2022/11/23 19:34:59 kn Exp $ */ +/* $OpenBSD: nd6.h,v 1.88 2022/11/23 19:35:18 kn Exp $ */ /* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */ /* @@ -65,11 +65,6 @@ struct in6_ndireq { struct nd_ifinfo ndi; }; -struct in6_ndifreq { - char ifname[IFNAMSIZ]; - u_long ifindex; -}; - /* Prefix status */ #define NDPRF_ONLINK 0x1 #define NDPRF_DETACHED 0x2