From: Andre Noll Date: Sun, 1 Jul 2012 18:55:44 +0000 (+0200) Subject: audiod: Kill some dead code. X-Git-Tag: v0.4.11~9 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3f7208f35ce23eaac34991f2087c7847d35f58aa audiod: Kill some dead code. Both conditions are never true at this point. --- diff --git a/audiod.c b/audiod.c index 40603c4e..93bc8da3 100644 --- a/audiod.c +++ b/audiod.c @@ -1199,8 +1199,6 @@ static void status_post_select(struct sched *s, struct task *t) kill_btrn(st->ct->btrn, &st->ct->task, -E_AUDIOD_OFF); goto out; } - if (st->ct->task.error >= 0) - goto out; close_stat_pipe(); st->clock_diff_count = conf.clock_diff_count_arg; goto out; @@ -1210,8 +1208,6 @@ static void status_post_select(struct sched *s, struct task *t) size_t sz; int ret; if (st->ct->task.error < 0) { - if (st->ct->task.error >= 0) - goto out; close_stat_pipe(); goto out; }