From: Ben Mezger Date: Thu, 16 Mar 2017 16:00:53 +0000 (-0300) Subject: Removed unused variable and cleaned whitespaces X-Git-Url: http://zhaoyanbai.com/repos/dnssec-keygen.html?a=commitdiff_plain;h=19155598849a2c33c200f54f5f6f4fd781276c9b;p=minix.git Removed unused variable and cleaned whitespaces Change-Id: Iaaf6b6f5f49f2d2599a3422250ad7e6e41838b82 --- diff --git a/minix/kernel/clock.c b/minix/kernel/clock.c index 30ab57d97..b4a438efa 100644 --- a/minix/kernel/clock.c +++ b/minix/kernel/clock.c @@ -7,7 +7,7 @@ * Changes: * Aug 18, 2006 removed direct hardware access etc, MinixPPC (Ingmar Alting) * Oct 08, 2005 reordering and comment editing (A. S. Woodhull) - * Mar 18, 2004 clock interface moved to SYSTEM task (Jorrit N. Herder) + * Mar 18, 2004 clock interface moved to SYSTEM task (Jorrit N. Herder) * Sep 30, 2004 source code documentation updated (Jorrit N. Herder) * Sep 24, 2004 redesigned alarm timers (Jorrit N. Herder) */ @@ -25,15 +25,15 @@ #endif /* Function prototype for PRIVATE functions. - */ + */ static void load_update(void); /* The CLOCK's timers queue. The functions in operate on this. - * Each system process possesses a single synchronous alarm timer. If other - * kernel parts want to use additional timers, they must declare their own + * Each system process possesses a single synchronous alarm timer. If other + * kernel parts want to use additional timers, they must declare their own * persistent (static) timer structure, which can be passed to the clock * via (re)set_kernel_timer(). - * When a timer expires its watchdog function is run by the CLOCK task. + * When a timer expires its watchdog function is run by the CLOCK task. */ static minix_timer_t *clock_timers; /* queue of CLOCK timers */ @@ -49,7 +49,6 @@ void init_clock(void) { char *value; - int i; /* Initialize clock information structure. */ memset(&kclockinfo, 0, sizeof(kclockinfo)); @@ -235,7 +234,7 @@ void set_kernel_timer( int arg /* argument for watchdog function */ ) { -/* Insert the new timer in the active timers list. Always update the +/* Insert the new timer in the active timers list. Always update the * next timeout time by setting it to the front of the active list. */ (void)tmrs_settimer(&clock_timers, tp, exp_time, watchdog, arg, NULL, NULL); @@ -257,7 +256,7 @@ void reset_kernel_timer( } /*===========================================================================* - * load_update * + * load_update * *===========================================================================*/ static void load_update(void) {