From f1e93aafe03b46dc803f3f14f5f7928f12ad704b Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 9 Jul 1987 01:43:10 +0000 Subject: rip out debugging code --- server/timer.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'server/timer.c') diff --git a/server/timer.c b/server/timer.c index 7a429b3..45a3734 100644 --- a/server/timer.c +++ b/server/timer.c @@ -94,7 +94,6 @@ timer timer_set_rel (time_rel, proc, arg) ALARM_PREV(new_t) = NULL; ALARM_ARG(new_t) = arg; add_timer(new_t); - zdbug((LOG_DEBUG,"timer_set_rel()'ing 0x%x",new_t)); return(new_t); } @@ -122,7 +121,6 @@ timer timer_set_abs (time_abs, proc, arg) ALARM_PREV(new_t) = NULL; ALARM_ARG(new_t) = arg; add_timer(new_t); - zdbug((LOG_DEBUG,"timer_set_abs()'ing 0x%x",new_t)); return(new_t); } @@ -148,7 +146,6 @@ timer_reset(tmr) zdbug((LOG_DEBUG,"timer_reset of timer head\n")); abort(); } - zdbug((LOG_DEBUG,"timer_reset()'ing 0x%x",tmr)); xremque(tmr); ALARM_PREV(tmr) = NULL; ALARM_NEXT(tmr) = NULL; @@ -158,7 +155,6 @@ timer_reset(tmr) abort(); } nexttimo = ALARM_TIME(ALARM_NEXT(timers)); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); return; } @@ -211,13 +207,11 @@ insert_timer(new_t) if (ALARM_TIME(t) > ALARM_TIME(new_t)) { xinsque(new_t, ALARM_PREV(t)); nexttimo = ALARM_TIME(ALARM_NEXT(timers)); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); return; } } xinsque(new_t, ALARM_PREV(timers)); nexttimo = ALARM_TIME(ALARM_NEXT(timers)); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); return; } @@ -235,7 +229,6 @@ timer_process() caddr_t queue_arg; int valid = 0; - zdbug((LOG_DEBUG,"timer_process")); right_now = NOW; t=ALARM_NEXT(timers); if (t != timers && right_now >= ALARM_TIME(t)) { @@ -261,10 +254,8 @@ timer_process() is set to 0L, which is what the main loop expects as the nexttimo when we have no timout work to do */ nexttimo = ALARM_TIME(t); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); if (valid) { - zdbug((LOG_DEBUG,"firing 0x%x(0x%x)", queue, queue_arg)); (queue)(queue_arg); } return; -- cgit v1.2.3