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