X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=3ba7a5e83d65aac415e8820dfc6e7c43398f8419;hp=268ba5418a5a01a7fcbab640bb072e009a67ee60;hb=1f7a50b57bf59a85dafaed5e7b48bb0ec2efcc5c;hpb=abfb661f35e99e99c09a94d84839356d905af080 diff --git a/sched.c b/sched.c index 268ba541..3ba7a5e8 100644 --- a/sched.c +++ b/sched.c @@ -7,7 +7,6 @@ /** \file sched.c Paraslash's scheduling functions. */ #include -#include #include "para.h" #include "ipc.h" @@ -51,12 +50,6 @@ struct task { static struct timeval now_struct; const struct timeval *now = &now_struct; -static inline bool timeout_is_zero(struct sched *s) -{ - struct timeval *tv = &s->select_timeout; - return tv->tv_sec == 0 && tv->tv_usec == 0; -} - static void sched_preselect(struct sched *s) { struct task *t, *tmp;