tbf_dl_ass_fsm: Drop unsued X2000 timer callback

That timer is only relevant for transmission of Packet Access Reject,
which happens only for Uplink assignment, and hence is only set in the
timer of tbf_ul_ass_fsm, never in tbf_dl_ass_fsm. This is probably a
copy-paste artifact when implementing both FSMs.

Change-Id: I95900e211eddb280c72fb712ba1da4d2230cb77b
This commit is contained in:
Pau Espin 2021-11-15 13:41:43 +01:00 committed by laforge
parent 0dcbc07682
commit e30153ea10
1 changed files with 0 additions and 4 deletions

View File

@ -185,11 +185,7 @@ static void st_wait_ack(struct osmo_fsm_inst *fi, uint32_t event, void *data)
static int tbf_dl_ass_fsm_timer_cb(struct osmo_fsm_inst *fi)
{
struct tbf_dl_ass_fsm_ctx *ctx = (struct tbf_dl_ass_fsm_ctx *)fi->priv;
switch (fi->T) {
case -2000:
tbf_free(ctx->tbf);
break;
default:
OSMO_ASSERT(0);
}