diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-04-26 16:09:45 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-04-26 16:09:45 +0000 |
commit | 2b705cc35ecfc4f5e5d3e7b8042ef91e6deb6e87 (patch) | |
tree | e69abba86dca0ce96dfe9780ad815cec1b90a29d /sys/net | |
parent | a250ed9d972a73029a2185aabe6c26087a7a2660 (diff) |
Remove +20y old rt_timer_init() comment
Obsolete since last year's r1.411 "Rework the rttimer code."
OK claudio
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 6d5da1d228d..a3de25d7b24 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.417 2023/04/26 15:40:33 kn Exp $ */ +/* $OpenBSD: route.c,v 1.418 2023/04/26 16:09:44 kn Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -1376,13 +1376,6 @@ struct rttimer { } \ } -/* - * Some subtle order problems with domain initialization mean that - * we cannot count on this being run from rt_init before various - * protocol initializations are done. Therefore, we make sure - * that this is run when the first queue is added... - */ - void rt_timer_init(void) { @@ -1486,7 +1479,7 @@ rt_timer_get_expire(const struct rtentry *rt) { const struct rttimer *r; time_t expire = 0; - + mtx_enter(&rttimer_mtx); LIST_FOREACH(r, &rt->rt_timer, rtt_link) { if (expire == 0 || expire > r->rtt_expire) |