aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-29 14:50:49 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-31 17:39:50 +0200
commitb5ae0811d1667e792fc3a4e550384791f4bca4c9 (patch)
tree07ab7d1cd3ccaa3cdbd6ad50a9c665859354479c
parent50a1ede69383c454e4d37b280723bd1252f282d6 (diff)
Drop unused function tbf_check()
-rw-r--r--src/bts.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index dc4159c..fee36be 100644
--- a/src/bts.cpp
+++ b/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)
{