From 1bdd08d07d8c544389b0c9df5aea08a0c072582e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 9 Jan 2016 18:09:28 +0100 Subject: [PATCH] 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. --- src/osmo-bts-trx/scheduler.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c index 4d9ffbb8b..38b4d8858 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);