aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-06 17:34:56 +0200
committerpespin <pespin@sysmocom.de>2020-07-14 09:44:06 +0000
commit414d649e01cbe45e81750c7a6fa91cf0de3c18a3 (patch)
treec82c012cfd70c36e27fd418a5add2f45439af723 /src/osmo-bts-trx
parent22a949f38e3b5279c1888e1f308a592744a13d71 (diff)
bts-trx: Remove unused function l1if_provision_transceiver()
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r--src/osmo-bts-trx/l1_if.c24
-rw-r--r--src/osmo-bts-trx/l1_if.h1
2 files changed, 0 insertions, 25 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index f47fc05e..a3bdf012 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -363,30 +363,6 @@ int l1if_provision_transceiver_trx(struct trx_l1h *l1h)
return 0;
}
-int l1if_provision_transceiver(struct gsm_bts *bts)
-{
- struct gsm_bts_trx *trx;
- uint8_t tn;
-
- llist_for_each_entry(trx, &bts->trx_list, list) {
- struct phy_instance *pinst = trx_phy_instance(trx);
- struct trx_l1h *l1h = pinst->u.osmotrx.hdl;
- l1h->config.trxd_hdr_ver_req = 0;
- l1h->config.trxd_hdr_ver_use = 0;
- l1h->config.setformat_sent = 0;
- l1h->config.arfcn_sent = 0;
- l1h->config.tsc_sent = 0;
- l1h->config.bsic_sent = 0;
- l1h->config.rxgain_sent = 0;
- l1h->config.maxdly_sent = 0;
- l1h->config.maxdlynb_sent = 0;
- for (tn = 0; tn < TRX_NR_TS; tn++)
- l1h->config.slottype_sent[tn] = 0;
- l1if_provision_transceiver_trx(l1h);
- }
- return 0;
-}
-
/*
* activation/configuration/deactivation of transceiver's TRX
*/
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h
index 7f60ca36..d2fdf06f 100644
--- a/src/osmo-bts-trx/l1_if.h
+++ b/src/osmo-bts-trx/l1_if.h
@@ -120,7 +120,6 @@ struct trx_l1h {
struct trx_l1h *trx_l1h_alloc(void *tall_ctx, struct phy_instance *pinst);
int l1if_provision_transceiver_trx(struct trx_l1h *l1h);
-int l1if_provision_transceiver(struct gsm_bts *bts);
int l1if_mph_time_ind(struct gsm_bts *bts, uint32_t fn);
void l1if_trx_set_nominal_power(struct gsm_bts_trx *trx, int nominal_power);