Hi,

old has been old and unused for some time already.


- Artturi


Index: kern_timeout.c
===================================================================
RCS file: /cvs/src/sys/kern/kern_timeout.c,v
retrieving revision 1.35
diff -u -p -u -p -r1.35 kern_timeout.c
--- kern_timeout.c    2 Jun 2012 00:11:16 -0000    1.35
+++ kern_timeout.c    3 Jul 2013 22:17:17 -0000
@@ -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)
@@ -363,8 +363,6 @@ timeout_adjust_ticks(int adj)
         while (p != &timeout_wheel[b]) {
             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)

Reply via email to