aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-04 12:49:31 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-04-04 12:50:19 +0200
commit0350824203b4083977c6a19bc377a254a2bc25bb (patch)
tree713f52643cfafb35111d78db688f22051f059360
parent4ff6888a81be71ecf831fa10ebfff0738516a9fa (diff)
bts-trx: Drop unused param to internal function
-rw-r--r--src/osmo-bts-trx/l1_if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index 2ed18681..5f800ae2 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -206,7 +206,7 @@ int bts_model_adjst_ms_pwr(struct gsm_lchan *lchan)
}
/* set bts attributes */
-static uint8_t trx_set_bts(struct gsm_bts *bts, struct tlv_parsed *new_attr)
+static uint8_t trx_set_bts(struct gsm_bts *bts)
{
struct phy_instance *pinst = trx_phy_instance(bts->c0);
struct trx_l1h *l1h = pinst->u.osmotrx.hdl;
@@ -569,7 +569,7 @@ int bts_model_apply_oml(struct gsm_bts *bts, struct msgb *msg,
switch (foh->msg_type) {
case NM_MT_SET_BTS_ATTR:
- ev_data.cause = trx_set_bts(obj, new_attr);
+ ev_data.cause = trx_set_bts(obj);
break;
case NM_MT_SET_RADIO_ATTR:
ev_data.cause = trx_set_trx(obj);