Change in osmo-pcu[master]: sba: Drop unused function find_sba_rts

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Apr 23 10:56:35 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/23869 )

Change subject: sba: Drop unused function find_sba_rts
......................................................................

sba: Drop unused function find_sba_rts

This function is not longer used since commit below, let's drop it.

Change-Id: I633676fc3a573acd0dccdd035ffe557c9c71a56e
Fixes: fd1fbdb8db4d76c2f50ccef01f99df0ef8bd8c74
---
M src/sba.c
M src/sba.h
2 files changed, 0 insertions(+), 14 deletions(-)

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



diff --git a/src/sba.c b/src/sba.c
index ce44fa5..d293784 100644
--- a/src/sba.c
+++ b/src/sba.c
@@ -95,15 +95,3 @@
 	/* Upon timeout, the UL Controller node is already released */
 	sba_free_norelease(sba);
 }
-
-uint32_t find_sba_rts(struct gprs_rlcmac_pdch *pdch, uint32_t fn, uint8_t block_nr)
-{
-	uint32_t sba_fn = rts_next_fn(fn, block_nr);
-	struct gprs_rlcmac_sba *sba;
-
-	sba = pdch_ulc_get_sba(pdch->ulc, sba_fn);
-	if (sba)
-		return sba_fn;
-
-	return 0xffffffff;
-}
diff --git a/src/sba.h b/src/sba.h
index 0f2fdc6..3962576 100644
--- a/src/sba.h
+++ b/src/sba.h
@@ -43,8 +43,6 @@
 void sba_free(struct gprs_rlcmac_sba *sba);
 void sba_timeout(struct gprs_rlcmac_sba *sba);
 
-uint32_t find_sba_rts(struct gprs_rlcmac_pdch *pdch, uint32_t fn, uint8_t block_nr);
-
 #ifdef __cplusplus
 }
 #endif

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I633676fc3a573acd0dccdd035ffe557c9c71a56e
Gerrit-Change-Number: 23869
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
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/20210423/0a63943e/attachment.htm>


More information about the gerrit-log mailing list