diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-11-17 20:42:47 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-11-18 14:16:56 +0100 |
commit | ac9ee9aa8d1ed67d43a30be2efe0760b078f85bd (patch) | |
tree | 616d6aed83f6279f16e60cc17f8ee31186f0e34c /src | |
parent | f197f15b2d72eaa8be1a46f29d6e197a9f5b992b (diff) |
tbf: Drop unused function
Change-Id: I5d4b411585321d94fefdd01f22c62932d4a8f83a
Diffstat (limited to 'src')
-rw-r--r-- | src/tbf.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -170,7 +170,6 @@ struct gprs_rlcmac_tbf { bool ul_ass_state_is(enum tbf_ul_ass_fsm_states rhs) const; void poll_sched_set(const char *file, int line); void poll_sched_unset(const char *file, int line); - bool check_n_clear(uint8_t state_flag); const char *state_name() const; const char *name(bool enclousure = true) const; @@ -306,16 +305,6 @@ inline const char *gprs_rlcmac_tbf::state_name() const return osmo_fsm_inst_state_name(state_fi); } -inline bool gprs_rlcmac_tbf::check_n_clear(uint8_t state_flag) -{ - if ((state_fsm.state_flags & (1 << state_flag))) { - state_fsm.state_flags &= ~(1 << state_flag); - return true; - } - - return false; -} - inline GprsMs *gprs_rlcmac_tbf::ms() const { return m_ms; |