Drop unused function tbf_check()

Change-Id: I90d75a75ae5b528c6ca7b409e60bd158d6043b35
changes/23/23523/3
Pau Espin 2 years ago
parent 50a1ede693
commit b5ae0811d1
  1. 9
      src/bts.cpp

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

Loading…
Cancel
Save