Change in osmo-pcu[master]: Drop unused function tbf_check()

pespin gerrit-no-reply at lists.osmocom.org
Mon Mar 29 12:51:05 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/23523 )


Change subject: Drop unused function tbf_check()
......................................................................

Drop unused function tbf_check()

Change-Id: I90d75a75ae5b528c6ca7b409e60bd158d6043b35
---
M src/bts.cpp
1 file changed, 0 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/23/23523/1

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

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/23523
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I90d75a75ae5b528c6ca7b409e60bd158d6043b35
Gerrit-Change-Number: 23523
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210329/4edb32a5/attachment.htm>


More information about the gerrit-log mailing list