diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-26 14:41:18 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-26 14:43:22 +0200 |
commit | bddf1ad7f6229ae5a8091274fc50036e9236418c (patch) | |
tree | f89048a844315374f8e5e9dfce0bd3aaf108ab84 /src/tbf.cpp | |
parent | 9d1cdb1f697057033394590a9b2815efe6c08cd9 (diff) |
Move tbf_{dl,ul} child constructors to respective .cpp files
Fixes: 9d1cdb1f697057033394590a9b2815efe6c08cd9
Change-Id: Id258589d46de42ad4e27889bc396f930b7f94b79
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r-- | src/tbf.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp index 3ca39bff..389b1864 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -955,17 +955,6 @@ static int setup_tbf(struct gprs_rlcmac_tbf *tbf, GprsMs *ms, int8_t use_trx, ui return 0; } -gprs_rlcmac_ul_tbf::gprs_rlcmac_ul_tbf(BTS *bts_) : - gprs_rlcmac_tbf(bts_, GPRS_RLCMAC_UL_TBF), - m_rx_counter(0), - m_contention_resolution_done(0), - m_final_ack_sent(0), - m_ul_gprs_ctrs(NULL), - m_ul_egprs_ctrs(NULL) -{ - memset(&m_usf, 0, sizeof(m_usf)); -} - static int ul_tbf_dtor(struct gprs_rlcmac_ul_tbf *tbf) { tbf->~gprs_rlcmac_ul_tbf(); @@ -1054,19 +1043,6 @@ gprs_rlcmac_dl_tbf::BandWidth::BandWidth() : timespecclear(&dl_loss_tv); } -gprs_rlcmac_dl_tbf::gprs_rlcmac_dl_tbf(BTS *bts_) : - gprs_rlcmac_tbf(bts_, GPRS_RLCMAC_DL_TBF), - m_tx_counter(0), - m_wait_confirm(0), - m_dl_ack_requested(false), - m_last_dl_poll_fn(0), - m_last_dl_drained_fn(0), - m_dl_gprs_ctrs(NULL), - m_dl_egprs_ctrs(NULL) -{ - memset(&m_llc_timer, 0, sizeof(m_llc_timer)); -} - static int dl_tbf_dtor(struct gprs_rlcmac_dl_tbf *tbf) { tbf->~gprs_rlcmac_dl_tbf(); |