From: Andre Noll Date: Sun, 13 Aug 2006 16:58:46 +0000 (+0200) Subject: simplify osx_write_pre_select() X-Git-Tag: v0.2.14~50 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=96bdf2d7b6206bb042031f2b13075a56bb8921a3;p=paraslash.git simplify osx_write_pre_select() --- diff --git a/osx_writer.c b/osx_writer.c index 4162badd..4b505f0e 100644 --- a/osx_writer.c +++ b/osx_writer.c @@ -306,15 +306,8 @@ static int osx_write_post_select(__a_unused struct sched *s, return 1; } -static int osx_write_pre_select(struct sched *s, struct writer_node *wn) +static int osx_write_pre_select(struct sched *s, __a_unused struct writer_node *wn) { - struct writer_node_group *wng = wn->wng; - struct private_osx_writer_data *powd = wn->private_data; - -// if (!*wng->loaded) -// return 1; -// if (powd->to->remaining) /* Non empty buffer, must still be playing */ -// return 1; s->timeout.tv_sec = 0; s->timeout.tv_usec = 20; return 1;