diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-04-27 16:28:58 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-04-30 15:23:16 +0200 |
commit | 56e8d710907b9320d41a6285f08bba39aae2ee3b (patch) | |
tree | f309c4cb468d91734664936cd3d29f3453c5c258 /src/tbf_dl.cpp | |
parent | 00fc6b13f266dab31e7a00d62b0988970fa20697 (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/tbf_dl.cpp')
-rw-r--r-- | src/tbf_dl.cpp | 1 |
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; |