diff --git a/examples/api/glue.c b/examples/api/glue.c index 08c21a8cb9c..0aaa82bccb2 100644 --- a/examples/api/glue.c +++ b/examples/api/glue.c @@ -153,7 +153,6 @@ unsigned long ub_get_timer(unsigned long base) return cur; } - /**************************************************************************** * * devices diff --git a/examples/standalone/sched.c b/examples/standalone/sched.c index d507163f6f3..57ae67e1a5b 100644 --- a/examples/standalone/sched.c +++ b/examples/standalone/sched.c @@ -21,7 +21,6 @@ * timer interrupts. */ - #define MAX_THREADS 8 #define CTX_SIZE 512 @@ -55,7 +54,6 @@ struct lthread { static volatile struct lthread lthreads[MAX_THREADS]; static volatile int current_tid = MASTER_THREAD; - static uchar dbg = 0; #define PDEBUG(fmt, args...) { \ @@ -162,7 +160,6 @@ static int testthread (void *name) return *(int *) name + 1; } - static void sched_init (void) { int i;