Removed unused variable and cleaned whitespaces

Change-Id: Iaaf6b6f5f49f2d2599a3422250ad7e6e41838b82
This commit is contained in:
Ben Mezger 2017-03-16 13:00:53 -03:00 committed by David van Moolenbroek
parent afc65e92aa
commit 1915559884

View File

@ -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 <minix/timers.h> 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)
{