diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-01-25 00:07:33 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-25 00:18:05 +0100 |
commit | d35038d22983ea54b6a9a9ba2d940ba22ca4fbbf (patch) | |
tree | 67508af78d1a64c8dba7b664ff92b604fe22fbe4 /tests | |
parent | 8b1cba842115dcf121154ca81ccb7d9f310442e3 (diff) |
Massive removal of unused code/structs/headers
osmo-msc still had large amounts of dead code that came along from
openbsc.git. This commit removes a lot of it, mostly stuff relevant
only to the BSC side of things (or even GPRS).
Change-Id: I247def85da2dc3ec461389fb74414a0d964e7e3c
Related: OS#2528
Diffstat (limited to 'tests')
-rw-r--r-- | tests/msc_vlr/msc_vlr_test_rest.c | 1 | ||||
-rw-r--r-- | tests/msc_vlr/msc_vlr_tests.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_rest.c b/tests/msc_vlr/msc_vlr_test_rest.c index c5f7fcfb9..c19c4c61a 100644 --- a/tests/msc_vlr/msc_vlr_test_rest.c +++ b/tests/msc_vlr/msc_vlr_test_rest.c @@ -32,7 +32,6 @@ void test_early_stage() btw("freshly allocated conn"); g_conn = msc_subscr_con_allocate(net); - g_conn->bts = the_bts; EXPECT_ACCEPTED(false); btw("conn_fsm present, in state NEW"); diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c index cf9122b51..2152fe45f 100644 --- a/tests/msc_vlr/msc_vlr_tests.c +++ b/tests/msc_vlr/msc_vlr_tests.c @@ -49,8 +49,6 @@ bool _log_lines = false; struct gsm_network *net = NULL; -struct gsm_bts *the_bts; - const char *gsup_tx_expected = NULL; bool gsup_tx_confirmed; @@ -160,7 +158,6 @@ struct gsm_subscriber_connection *conn_new(void) { struct gsm_subscriber_connection *conn; conn = msc_subscr_con_allocate(net); - conn->bts = the_bts; conn->via_ran = rx_from_ran; conn->lac = 23; if (conn->via_ran == RAN_UTRAN_IU) { @@ -867,8 +864,6 @@ int main(int argc, char **argv) printf("Done\n"); - talloc_free(the_bts); - check_talloc(msgb_ctx, tall_bsc_ctx, 8); return 0; } |