summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet6/in6_rmx.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/netinet6/in6_rmx.c b/sys/netinet6/in6_rmx.c
index 00f833a..2d70357 100644
--- a/sys/netinet6/in6_rmx.c
+++ b/sys/netinet6/in6_rmx.c
@@ -90,7 +90,6 @@ __FBSDID("$FreeBSD$");
#include <sys/vimage.h>
#include <net/if.h>
-#include <net/route.h>
#include <net/vnet.h>
#include <netinet/in.h>
@@ -409,28 +408,6 @@ in6_mtutimo(void *rock)
CURVNET_RESTORE();
}
-#if 0
-void
-in6_rtqdrain(void)
-{
- INIT_VNET_NET(curvnet);
- struct radix_node_head *rnh;
- struct rtqk_arg arg;
-
- rnh = rt_tables_get_rnh(0, AF_INET6);
- if (rnh == NULL)
- panic("%s: rnh == NULL", __func__);
- arg.found = arg.killed = 0;
- arg.rnh = rnh;
- arg.nextstop = 0;
- arg.draining = 1;
- arg.updating = 0;
- RADIX_NODE_HEAD_LOCK(rnh);
- rnh->rnh_walktree(rnh, in6_rtqkill, &arg);
- RADIX_NODE_HEAD_UNLOCK(rnh);
-}
-#endif
-
/*
* Initialize our routing tree.
* XXX MRT When off == 0, we are being called from vfs_export.c
OpenPOWER on IntegriCloud