Max has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11866 )

Change subject: Drop unused function
......................................................................

Drop unused function

Change-Id: Ib1ecc6dcb243da27976ca0e90a83aefa18a65b76
---
M include/osmo-bts/gsm_data_shared.h
M src/common/gsm_data_shared.c
2 files changed, 0 insertions(+), 27 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmo-bts/gsm_data_shared.h 
b/include/osmo-bts/gsm_data_shared.h
index 61cf81f..56ab5b1 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -818,9 +818,6 @@
 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);
diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c
index beb3107..2d9af78 100644
--- a/src/common/gsm_data_shared.c
+++ b/src/common/gsm_data_shared.c
@@ -352,30 +352,6 @@
        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;

--
To view, visit https://gerrit.osmocom.org/11866
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1ecc6dcb243da27976ca0e90a83aefa18a65b76
Gerrit-Change-Number: 11866
Gerrit-PatchSet: 2
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>

Reply via email to