Drop unused function tbf_check()

Change-Id: I90d75a75ae5b528c6ca7b409e60bd158d6043b35
This commit is contained in:
Pau Espin 2021-03-29 14:50:49 +02:00
parent 50a1ede693
commit b5ae0811d1
1 changed files with 0 additions and 9 deletions

View File

@ -467,15 +467,6 @@ void bts_send_gsmtap_meas(struct gprs_rlcmac_bts *bts,
meas->rssi, meas->link_qual, data, len);
}
static inline bool tbf_check(gprs_rlcmac_tbf *tbf, uint32_t fn, uint8_t trx_no, uint8_t ts)
{
if (tbf->state_is_not(GPRS_RLCMAC_RELEASING) && tbf->poll_scheduled()
&& tbf->poll_fn == fn && tbf->trx->trx_no == trx_no && tbf->poll_ts == ts)
return true;
return false;
}
/* lookup downlink TBF Entity (by TFI) */
struct gprs_rlcmac_dl_tbf *bts_dl_tbf_by_tfi(struct gprs_rlcmac_bts *bts, uint8_t tfi, uint8_t trx, uint8_t ts)
{