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.
This commit is contained in:
Harald Welte 2016-01-09 18:09:28 +01:00
parent 519a639cf3
commit 1bdd08d07d
1 changed files with 0 additions and 6 deletions

View File

@ -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);