From 9a545c777dff8094773db048c73369a43f870924 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 28 Sep 2018 18:25:25 +0700 Subject: trxcon/sched_prim.c: drop redundant tn validation Change-Id: I553b4cc39b2efd7b60346160c57f01ee4cf066be --- src/host/trxcon/sched_prim.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/host/trxcon/sched_prim.c b/src/host/trxcon/sched_prim.c index e03f93ff..20679009 100644 --- a/src/host/trxcon/sched_prim.c +++ b/src/host/trxcon/sched_prim.c @@ -102,10 +102,6 @@ int sched_prim_push(struct trx_instance *trx, /* Determine TS index */ tn = chan_nr & 0x7; - if (tn > 7) { - LOGP(DSCH, LOGL_ERROR, "Incorrect TS index %u\n", tn); - return -EINVAL; - } /* Check whether required timeslot is allocated and configured */ ts = trx->ts_list[tn]; -- cgit v1.2.3