Remove unused parameter

Change-Id: Ifd6e04a29e27b1862cf9e98dec7481d3e0efcd48
This commit is contained in:
Max 2017-11-01 18:08:40 +01:00
parent 8d55563523
commit b709144f1b
1 changed files with 2 additions and 3 deletions

View File

@ -489,8 +489,7 @@ int alloc_algorithm_a(struct gprs_rlcmac_bts *bts,
return 0;
}
static int find_multi_slots(struct gprs_rlcmac_bts *bts,
struct gprs_rlcmac_trx *trx,
static int find_multi_slots(struct gprs_rlcmac_trx *trx,
const GprsMs *ms, uint8_t *ul_slots, uint8_t *dl_slots)
{
const struct gprs_ms_multislot_class *ms_class;
@ -859,7 +858,7 @@ int alloc_algorithm_b(struct gprs_rlcmac_bts *bts,
trx = &bts->trx[trx_no];
if (!dl_slots || !ul_slots) {
rc = find_multi_slots(bts, trx, ms, &ul_slots, &dl_slots);
rc = find_multi_slots(trx, ms, &ul_slots, &dl_slots);
if (rc < 0)
return rc;