From 10a0b57a46cb5e054b15611f947d4f9343e38797 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 3 Aug 2013 06:47:16 +0000 Subject: Delete variable left over from the diagnostic code removed by previous commit pointed out by Artturi Alm (artturi.alm (at) gmail.com) --- sys/kern/kern_timeout.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys') 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 * Copyright (c) 2000-2001 Artur Grabowski @@ -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; -- cgit v1.2.3