scheduler: drop redundant check in trx_sched_set_cipher()
In this function we already do check that a given timeslot is not a PDCH slot, so checking if TRX_CHAN_FLAG_PDCH is redundant. Change-Id: Ie73bdaf0f6bc76ed8d2e95d1fb995333bf617e7e
This commit is contained in:
parent
46aa8465be
commit
66be4b6785
|
@ -1102,9 +1102,6 @@ int trx_sched_set_cipher(struct l1sched_trx *l1t, uint8_t chan_nr, int downlink,
|
|||
|
||||
/* look for all matching chan_nr */
|
||||
for (i = 0; i < _TRX_CHAN_MAX; i++) {
|
||||
/* skip if pchan type */
|
||||
if (trx_chan_desc[i].flags & TRX_CHAN_FLAG_PDCH)
|
||||
continue;
|
||||
if (trx_chan_desc[i].chan_nr == (chan_nr & RSL_CHAN_NR_MASK)) {
|
||||
chan_state = &l1ts->chan_state[i];
|
||||
LOGP(DL1C, LOGL_NOTICE, "Set a5/%d %s for %s on trx=%d "
|
||||
|
|
Loading…
Reference in New Issue