summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-09-28 18:25:25 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-09-28 18:25:25 +0700
commit9a545c777dff8094773db048c73369a43f870924 (patch)
treea83374d3e7b2f11ea1c4241e61490e6b7b74d935 /src
parent195fe9b84c76a8234b9dd3ae7547c5c8f019103f (diff)
trxcon/sched_prim.c: drop redundant tn validation
Diffstat (limited to 'src')
-rw-r--r--src/host/trxcon/sched_prim.c4
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];