From 6f72ff7af1ef0db480221f23f11291f3d206c07f Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 19 Jan 2010 13:08:24 +0000 Subject: [PATCH] Remove compiler warnings --- core/sys/rtimer.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/core/sys/rtimer.c b/core/sys/rtimer.c index fd63eacab..eb92625d6 100644 --- a/core/sys/rtimer.c +++ b/core/sys/rtimer.c @@ -42,21 +42,12 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: rtimer.c,v 1.6 2009/12/08 23:55:17 adamdunkels Exp $ + * @(#)$Id: rtimer.c,v 1.7 2010/01/19 13:08:24 adamdunkels Exp $ */ #include "sys/rtimer.h" #include "contiki.h" -#ifdef RTIMER_CONF_NUM -#define LIST_SIZE RTIMER_CONF_NUM -#else -#define LIST_SIZE 8 -#endif - -static struct rtimer *rtimers[LIST_SIZE]; -static u8_t next, firstempty; - #define DEBUG 0 #if DEBUG #include @@ -71,8 +62,6 @@ static struct rtimer *next_rtimer; void rtimer_init(void) { - next = 0; - firstempty = 0; rtimer_arch_init(); } /*---------------------------------------------------------------------------*/