aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-05-11 14:23:51 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-05-12 14:24:02 +0200
commitf53815f2fc45f623ce9a1965be839e35fa317735 (patch)
tree247a5e4dd911e030fc23b72dc31fa33e7f6b3ab3
parent632542348a93b2879bde3c154865893af66e7dc5 (diff)
Drop existing tbf->ms() check condition
Since a while ago, tbf should always have an MS attached since its creation, so there's no sense to check for it here. Change-Id: If056a3fb83b43a48c2a6382fc30c6c81fe2b2651
-rw-r--r--src/tbf_ul.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index 9d984a68..272d8b3c 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -407,8 +407,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged(
gprs_rlcmac_rssi(this, rssi);
/* store measurement values */
- if (ms())
- ms_update_l1_meas(ms(), meas);
+ ms_update_l1_meas(ms(), meas);
uint32_t new_tlli = GSM_RESERVED_TMSI;
unsigned int block_idx;