diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-03-17 12:22:40 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-17 13:40:03 +0100 |
commit | d8cd756da48bcff9f9caf9e64fc0af047a165b60 (patch) | |
tree | 136d09901ae8420803500d92646944376ae21f59 /tests/handover | |
parent | 7c4a22dbc48f51eb199766bf1b29e061bf765cbd (diff) |
Get rid of 'struct gsm_bts_role_bts'
gsm_bts_role_bts was introduced at a time when we still shared
gsm_data_shared.[ch] between BSC and BTS, and where we then subsequently
needed a BTS-private structure. Since that sharing was abandoned quite
some time ago, we can merge gsm_bts_role_bts into gsm_bts and do away
with the bts/btsb dualism in a lot of the code.
Change-Id: I4fdd601ea873d9697f89a748cc77bcf7c978fa3e
Diffstat (limited to 'tests/handover')
-rw-r--r-- | tests/handover/handover_test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index adc4d65b..1c0a4da7 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -56,7 +56,6 @@ static void expect_phys_info(struct lapdm_entity *le) int main(int argc, char **argv) { - struct gsm_bts_role_bts *btsb; void *tall_bts_ctx; struct e1inp_line *line; struct gsm_lchan *lchan; @@ -87,8 +86,6 @@ int main(int argc, char **argv) exit(1); } - btsb = bts_role_bts(bts); - libosmo_abis_init(NULL); line = e1inp_line_create(0, "ipa"); @@ -170,7 +167,7 @@ int main(int argc, char **argv) OSMO_ASSERT(rslh->c.msg_type == RSL_MT_HANDO_DET); OSMO_ASSERT(!msgb_dequeue(&trx->rsl_link->tx_list)); - for (i = 0; i < btsb->ny1 - 1; i++) { + for (i = 0; i < bts->ny1 - 1; i++) { /* expect T3105 running */ OSMO_ASSERT(osmo_timer_pending(&trx->ts[2].lchan[0].ho.t3105)) |