aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-04-27 16:28:58 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-04-30 15:23:16 +0200
commit56e8d710907b9320d41a6285f08bba39aae2ee3b (patch)
treef309c4cb468d91734664936cd3d29f3453c5c258 /src
parent00fc6b13f266dab31e7a00d62b0988970fa20697 (diff)
tbf: Remove double assigment to m_last_dl_drained_fn
Currently the value -1 is assigned twice to m_last_dl_drained_fn within append_data(). This commit removes the first of these assigments. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src')
-rw-r--r--src/tbf_dl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 442aa369..81beff7d 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -107,7 +107,6 @@ int gprs_rlcmac_dl_tbf::append_data(const uint8_t ms_class,
reuse_tbf(data, len);
} else if (!have_data()) {
m_llc.put_frame(data, len);
- m_last_dl_drained_fn = -1;
bts->llc_frame_sched();
/* it is no longer drained */
m_last_dl_drained_fn = -1;