aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-04-22 19:46:28 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-04-22 19:46:54 +0200
commitffc533b1af0f44c1716f97479ae20f0d39de6984 (patch)
tree2f0cefa54f57774ec52fe96170cb96974560d626
parentab3aca65c5832cfa4bde120cd503f44066b6dd73 (diff)
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
-rw-r--r--src/sba.c12
-rw-r--r--src/sba.h2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/sba.c b/src/sba.c
index ce44fa59..d293784c 100644
--- a/src/sba.c
+++ b/src/sba.c
@@ -95,15 +95,3 @@ void sba_timeout(struct gprs_rlcmac_sba *sba)
/* 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 0f2fdc60..39625764 100644
--- a/src/sba.h
+++ b/src/sba.h
@@ -43,8 +43,6 @@ struct gprs_rlcmac_sba *sba_alloc(void *ctx, struct gprs_rlcmac_pdch *pdch, uint
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