Drop unused function
Change-Id: Ib1ecc6dcb243da27976ca0e90a83aefa18a65b76
This commit is contained in:
parent
faf501e432
commit
ecfb83d3cc
|
@ -818,9 +818,6 @@ void *
|
|||
gsm_objclass2obj(struct gsm_bts *bts, uint8_t obj_class,
|
||||
const struct abis_om_obj_inst *obj_inst);
|
||||
|
||||
/* reset the state of all MO in the BTS */
|
||||
void gsm_bts_mo_reset(struct gsm_bts *bts);
|
||||
|
||||
uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan,
|
||||
uint8_t ts_nr, uint8_t lchan_nr);
|
||||
uint8_t gsm_lchan2chan_nr(const struct gsm_lchan *lchan);
|
||||
|
|
|
@ -352,30 +352,6 @@ struct gsm_bts *gsm_bts_alloc(void *ctx, uint8_t bts_num)
|
|||
return bts;
|
||||
}
|
||||
|
||||
/* reset the state of all MO in the BTS */
|
||||
void gsm_bts_mo_reset(struct gsm_bts *bts)
|
||||
{
|
||||
struct gsm_bts_trx *trx;
|
||||
unsigned int i;
|
||||
|
||||
gsm_abis_mo_reset(&bts->mo);
|
||||
gsm_abis_mo_reset(&bts->site_mgr.mo);
|
||||
for (i = 0; i < ARRAY_SIZE(bts->gprs.nsvc); i++)
|
||||
gsm_abis_mo_reset(&bts->gprs.nsvc[i].mo);
|
||||
gsm_abis_mo_reset(&bts->gprs.nse.mo);
|
||||
gsm_abis_mo_reset(&bts->gprs.cell.mo);
|
||||
|
||||
llist_for_each_entry(trx, &bts->trx_list, list) {
|
||||
gsm_abis_mo_reset(&trx->mo);
|
||||
gsm_abis_mo_reset(&trx->bb_transc.mo);
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(trx->ts); i++) {
|
||||
struct gsm_bts_trx_ts *ts = &trx->ts[i];
|
||||
gsm_abis_mo_reset(&ts->mo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct gsm_bts_trx *gsm_bts_trx_num(const struct gsm_bts *bts, int num)
|
||||
{
|
||||
struct gsm_bts_trx *trx;
|
||||
|
|
Loading…
Reference in New Issue