diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-23 14:51:01 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-23 14:51:01 +0000 |
commit | b07371699bea843c9b5e790589f92d0f23b9244b (patch) | |
tree | 26116556d34bc131f3610273f4391d6788c8c083 /regress | |
parent | b9a82163fdae053a989b25a50e0ed0acfa1286c9 (diff) |
Remove unused struct ifnet's *if_afdata[] and struct domain's dom_if{at,de}tach()
Both made obsolete through struct ifnet's previous *if_nd addition.
IPv6 Neighbour Discovery handles per-interface data directly, nothing
else uses this generic domain API anymore.
Outside of _KERNEL, but nothing in base uses them, either.
OK bluhm mvs claudio
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/net/rtable/util.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/regress/sys/net/rtable/util.c b/regress/sys/net/rtable/util.c index f2c770f936f..b948d231cc5 100644 --- a/regress/sys/net/rtable/util.c +++ b/regress/sys/net/rtable/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.11 2022/06/29 04:49:51 anton Exp $ */ +/* $OpenBSD: util.c,v 1.12 2022/11/23 14:51:00 kn Exp $ */ /* * Copyright (c) 2015 Martin Pieuchot @@ -80,8 +80,6 @@ struct domain inetdomain = { .dom_protoswNPROTOSW = NULL, .dom_rtoffset = offsetof(struct sockaddr_in, sin_addr), .dom_maxplen = 32, - .dom_ifattach = NULL, - .dom_ifdetach = NULL, }; struct domain inet6domain = { @@ -94,8 +92,6 @@ struct domain inet6domain = { .dom_protoswNPROTOSW = NULL, .dom_rtoffset = offsetof(struct sockaddr_in6, sin6_addr), .dom_maxplen = 128, - .dom_ifattach = NULL, - .dom_ifdetach = NULL, }; struct domain *domains[] = { &inetdomain, &inet6domain, NULL }; |