summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-08-03 06:47:16 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-08-03 06:47:16 +0000
commit10a0b57a46cb5e054b15611f947d4f9343e38797 (patch)
tree5a6759e9db752fcdffd102d5f68a06170467ed39 /sys
parent5c92939640ef90d57381797c863fad30a8870802 (diff)
Delete variable left over from the diagnostic code removed by previous commit
pointed out by Artturi Alm (artturi.alm (at) gmail.com)
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_timeout.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index d1986c7b95d..b46c0a393b6 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_timeout.c,v 1.35 2012/06/02 00:11:16 guenther Exp $ */
+/* $OpenBSD: kern_timeout.c,v 1.36 2013/08/03 06:47:15 guenther Exp $ */
/*
* Copyright (c) 2001 Thomas Nordin <nordin@openbsd.org>
* Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org>
@@ -350,7 +350,7 @@ timeout_adjust_ticks(int adj)
{
struct timeout *to;
struct circq *p;
- int new_ticks, b, old;
+ int new_ticks, b;
/* adjusting the monotonic clock backwards would be a Bad Thing */
if (adj <= 0)
@@ -364,8 +364,6 @@ timeout_adjust_ticks(int adj)
to = (struct timeout *)p; /* XXX */
p = CIRCQ_FIRST(p);
- old = to->to_time;
-
/* when moving a timeout forward need to reinsert it */
if (to->to_time - ticks < adj)
to->to_time = new_ticks;