aboutsummaryrefslogtreecommitdiff
path: root/src/sys/schedule.q.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/schedule.q.c')
-rw-r--r--src/sys/schedule.q.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sys/schedule.q.c b/src/sys/schedule.q.c
index 818ba66..88488da 100644
--- a/src/sys/schedule.q.c
+++ b/src/sys/schedule.q.c
@@ -16,11 +16,6 @@ void add_fxn(void (*task)(void), unsigned char priority)
struct Task* t = (struct Task*)malloc(sizeof(struct Task));
t->priority = priority;
t->task = task;
- add_task(t);
-}
-
-void add_task(struct Task* t)
-{
pushq(scheduler.tasks, t);
}