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
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index 063d0ff..ff291ef 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -295,7 +295,7 @@
uint32_t new_poll_fn = 0;
if (final) {
- if (poll_scheduled() && ul_ack_state_is(GPRS_RLCMAC_UL_ACK_WAIT_ACK)) {
+ if (ul_ack_state_is(GPRS_RLCMAC_UL_ACK_WAIT_ACK)) {
LOGPTBFUL(this, LOGL_DEBUG,
"Polling is already scheduled, so we must wait for the final uplink ack...\n");
return NULL;