sba: Drop unused function find_sba_rts

This function is not longer used since commit below, let's drop it.

Change-Id: I633676fc3a573acd0dccdd035ffe557c9c71a56e
Fixes: fd1fbdb8db
changes/69/23869/1
Pau Espin 2 years ago
parent ab3aca65c5
commit ffc533b1af
  1. 12
      src/sba.c
  2. 2
      src/sba.h

@ -95,15 +95,3 @@ void sba_timeout(struct gprs_rlcmac_sba *sba)
/* Upon timeout, the UL Controller node is already released */
sba_free_norelease(sba);
}
uint32_t find_sba_rts(struct gprs_rlcmac_pdch *pdch, uint32_t fn, uint8_t block_nr)
{
uint32_t sba_fn = rts_next_fn(fn, block_nr);
struct gprs_rlcmac_sba *sba;
sba = pdch_ulc_get_sba(pdch->ulc, sba_fn);
if (sba)
return sba_fn;
return 0xffffffff;
}

@ -43,8 +43,6 @@ struct gprs_rlcmac_sba *sba_alloc(void *ctx, struct gprs_rlcmac_pdch *pdch, uint
void sba_free(struct gprs_rlcmac_sba *sba);
void sba_timeout(struct gprs_rlcmac_sba *sba);
uint32_t find_sba_rts(struct gprs_rlcmac_pdch *pdch, uint32_t fn, uint8_t block_nr);
#ifdef __cplusplus
}
#endif

Loading…
Cancel
Save