pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcu/+/30217 )
Change subject: tbf: Drop unused function
......................................................................
tbf: Drop unused function
Change-Id: I5d4b411585321d94fefdd01f22c62932d4a8f83a
---
M src/tbf.h
1 file changed, 0 insertions(+), 11 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
fixeria: Looks good to me, approved
diff --git a/src/tbf.h b/src/tbf.h
index b2d8db6..fedf312 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -170,7 +170,6 @@
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 @@
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;
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/30217
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I5d4b411585321d94fefdd01f22c62932d4a8f83a
Gerrit-Change-Number: 30217
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged