diff options
Diffstat (limited to 'sys/net/route.c')
-rw-r--r-- | sys/net/route.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 0f856d53483..1a56c56c865 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.30 2002/05/31 05:00:26 itojun Exp $ */ +/* $OpenBSD: route.c,v 1.31 2002/06/07 18:30:11 art Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -986,11 +986,8 @@ rt_timer_add(rt, func, queue) { struct rttimer *r; long current_time; - int s; - s = splclock(); current_time = mono_time.tv_sec; - splx(s); /* * If there's already a timer with this action, destroy it before @@ -1045,9 +1042,7 @@ rt_timer_timer(arg) long current_time; int s; - s = splclock(); current_time = mono_time.tv_sec; - splx(s); s = splsoftnet(); for (rtq = LIST_FIRST(&rttimer_queue_head); rtq != NULL; |