X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=3ba7a5e83d65aac415e8820dfc6e7c43398f8419;hp=ad3641a37d90deacf8fdf8d4d8bd08fc94a6536e;hb=55aa934b633be4b5635ebf334a629ec299dd6bfc;hpb=06cf1943be32153d075ea90a5da12ac93ab2e90a diff --git a/sched.c b/sched.c index ad3641a3..3ba7a5e8 100644 --- a/sched.c +++ b/sched.c @@ -50,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;