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

pespin gerrit-no-reply at lists.osmocom.org
Wed Mar 31 16:27:37 UTC 2021


pespin has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  dexter: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved



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: 3
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210331/d9cbde26/attachment.htm>


More information about the gerrit-log mailing list