From 3f7208f35ce23eaac34991f2087c7847d35f58aa Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 1 Jul 2012 20:55:44 +0200 Subject: [PATCH] audiod: Kill some dead code. Both conditions are never true at this point. --- audiod.c | 4 ---- 1 file changed, 4 deletions(-) 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; } -- 2.39.2