aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-09 18:09:28 +0100
committerHarald Welte <laforge@gnumonks.org>2016-01-16 17:48:45 +0100
commit1bdd08d07d8c544389b0c9df5aea08a0c072582e (patch)
treeb148a1ede1449d162a1cc695f0f62a83d0347ae8 /src/osmo-bts-trx
parent519a639cf37b6f4cb1c4c9a80a84f7c4dcb4ef4b (diff)
TRX: schedule: remove dead code
the check whether or not to send a dummy burst is done already in trx_sched_dl_burst(), so no need to have commented-out code doing that again.
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r--src/osmo-bts-trx/scheduler.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c
index 4d9ffbb8..38b4d885 100644
--- a/src/osmo-bts-trx/scheduler.c
+++ b/src/osmo-bts-trx/scheduler.c
@@ -2889,14 +2889,8 @@ static int trx_sched_fn(uint32_t fn)
/* get burst for FN */
bits = trx_sched_dl_burst(l1h, tn, fn);
if (!bits) {
-#if 0
- /* if no bits, send dummy burst with no gain */
- bits = dummy_burst;
- gain = 128;
-#else
/* if no bits, send no burst */
continue;
-#endif
} else
gain = 0;
trx_if_data(l1h, tn, fn, gain, bits);