Its single caller ignores the return value.
return 0;
}
-static int open_current_receiver(struct sched *s)
+static void open_current_receiver(struct sched *s)
{
struct timeval diff;
int cafn = stat_task->current_audio_format_num;
if (cafn < 0 || !stat_task->ct)
- return 0;
+ return;
if (receiver_running(cafn))
- return 0;
+ return;
if (tv_diff(now, &afi[cafn].restart_barrier, &diff) < 0) {
s->timeout = diff;
- return 0;
+ return;
}
- return open_receiver(cafn) < 0? 0 : 1;
+ open_receiver(cafn);
}
static unsigned compute_time_diff(const struct timeval *status_time)