From ace7b570a047b7ee36557091c10918240c4b8ff3 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Thu, 18 Jun 2015 15:49:52 +0200 Subject: tbf: Remove update_tlli method This method does not do anything anymore, it's functionality has been taken over by update_ms. This commit removes gprs_rlcmac_tbf::update_tlli completely. Sponsored-by: On-Waves ehf --- src/bts.cpp | 1 - src/tbf.cpp | 5 ----- src/tbf.h | 1 - 3 files changed, 7 deletions(-) (limited to 'src') diff --git a/src/bts.cpp b/src/bts.cpp index 7914cfdc..4ca53d55 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -712,7 +712,6 @@ void gprs_rlcmac_pdch::rcv_control_ack(Packet_Control_Acknowledgement_t *packet, fn, tlli, trx_no(), ts_no); return; } - tbf->update_tlli(tlli); tbf->update_ms(tlli, GPRS_RLCMAC_UL_TBF); LOGP(DRLCMAC, LOGL_DEBUG, "RX: [PCU <- BTS] %s Packet Control Ack\n", tbf_name(tbf)); diff --git a/src/tbf.cpp b/src/tbf.cpp index ac099cf0..3252d0ac 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -847,10 +847,6 @@ void gprs_rlcmac_tbf::free_all(struct gprs_rlcmac_pdch *pdch) } } -void gprs_rlcmac_tbf::update_tlli(uint32_t tlli) -{ -} - int gprs_rlcmac_tbf::extract_tlli(const uint8_t *data, const size_t len) { struct gprs_rlcmac_tbf *dl_tbf = NULL; @@ -883,7 +879,6 @@ int gprs_rlcmac_tbf::extract_tlli(const uint8_t *data, const size_t len) set_ms(old_ms); } - update_tlli(new_tlli); /* The TLLI has been taken from an UL message */ update_ms(new_tlli, GPRS_RLCMAC_UL_TBF); LOGP(DRLCMACUL, LOGL_INFO, "Decoded premier TLLI=0x%08x of " diff --git a/src/tbf.h b/src/tbf.h index 5c6611db..0f53a277 100644 --- a/src/tbf.h +++ b/src/tbf.h @@ -139,7 +139,6 @@ struct gprs_rlcmac_tbf { void poll_timeout(); /** tlli handling */ - void update_tlli(uint32_t tlli); uint32_t tlli() const; bool is_tlli_valid() const; -- cgit v1.2.3