diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-28 18:25:25 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-28 18:25:25 +0700 |
commit | 9a545c777dff8094773db048c73369a43f870924 (patch) | |
tree | a83374d3e7b2f11ea1c4241e61490e6b7b74d935 | |
parent | 195fe9b84c76a8234b9dd3ae7547c5c8f019103f (diff) |
trxcon/sched_prim.c: drop redundant tn validation
Change-Id: I553b4cc39b2efd7b60346160c57f01ee4cf066be
-rw-r--r-- | src/host/trxcon/sched_prim.c | 4 |
1 files changed, 0 insertions, 4 deletions
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]; |