diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-03-29 16:16:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-03-31 17:39:50 +0200 |
commit | ed066b5328aeefca471af24b35c976d80c21312e (patch) | |
tree | eb9db075793275b6b0542928c678f944e6bafd37 /src/tbf.h | |
parent | 86580e1966b7272cad75c845607e45b8347cf758 (diff) |
tbf: Get rid of unneeded poll_scheduled()
This API is not really needed anymore, since anyway it works under the
assumption there can only be 1 POLL in transit per TBF, which isn't
necessarily true.
Change-Id: I875f51cade95faeb2d79dcebfead4c83e23a731b
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -221,7 +221,6 @@ struct gprs_rlcmac_tbf { bool dl_ass_state_is(enum gprs_rlcmac_tbf_dl_ass_state rhs) const; bool ul_ass_state_is(enum gprs_rlcmac_tbf_ul_ass_state rhs) const; bool ul_ack_state_is(enum gprs_rlcmac_tbf_ul_ack_state rhs) const; - bool poll_scheduled() const; void set_state(enum gprs_rlcmac_tbf_state new_state, const char *file, int line); void set_ass_state_dl(enum gprs_rlcmac_tbf_dl_ass_state new_state, const char *file, int line); void set_ass_state_ul(enum gprs_rlcmac_tbf_ul_ass_state new_state, const char *file, int line); @@ -381,11 +380,6 @@ inline bool gprs_rlcmac_tbf::ul_ack_state_is(enum gprs_rlcmac_tbf_ul_ack_state r return ul_ack_state == rhs; } -inline bool gprs_rlcmac_tbf::poll_scheduled() const -{ - return poll_state == GPRS_RLCMAC_POLL_SCHED; -} - inline bool gprs_rlcmac_tbf::state_is_not(enum gprs_rlcmac_tbf_state rhs) const { return state != rhs; |