diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-06-05 15:32:14 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-08 16:16:42 +0000 |
commit | fc622c724133db3d8682101f725d07054000812f (patch) | |
tree | 7e881b007d34de7b3ea152e4b0a0e23344dfb406 /src/osmo-bsc/bsc_api.c | |
parent | 0abe84e679cc6bfa3c7db3dd78a7bee3cef91aa5 (diff) |
drop dead code: conn->T10, handled by gscon instead
Change-Id: Ief20cb0f46dd93f46dd765dca307724dc2b3487c
Diffstat (limited to 'src/osmo-bsc/bsc_api.c')
-rw-r--r-- | src/osmo-bsc/bsc_api.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/osmo-bsc/bsc_api.c b/src/osmo-bsc/bsc_api.c index 218f1a136..4cf11a466 100644 --- a/src/osmo-bsc/bsc_api.c +++ b/src/osmo-bsc/bsc_api.c @@ -327,9 +327,6 @@ static void handle_ass_compl(struct gsm_subscriber_connection *conn, return; } - /* swap channels */ - osmo_timer_del(&conn->T10); - lchan_release(conn->lchan, 0, RSL_REL_LOCAL_END); conn->lchan = conn->secondary_lchan; conn->secondary_lchan = NULL; @@ -374,7 +371,6 @@ static void handle_ass_fail(struct gsm_subscriber_connection *conn, } /* stop the timer and release it */ - osmo_timer_del(&conn->T10); if (conn->secondary_lchan) { lchan_release(conn->secondary_lchan, 0, RSL_REL_LOCAL_END); conn->secondary_lchan = NULL; @@ -533,7 +529,6 @@ static void dispatch_dtap(struct gsm_subscriber_connection *conn, handle_ass_fail(conn, msg); break; case GSM48_MT_RR_CHAN_MODE_MODIF_ACK: - osmo_timer_del(&conn->T10); rc = gsm48_rx_rr_modif_ack(msg); if (rc < 0) bsc_assign_fail(conn, GSM0808_CAUSE_NO_RADIO_RESOURCE_AVAILABLE, NULL); @@ -645,8 +640,6 @@ int gsm0808_clear(struct gsm_subscriber_connection *conn) conn->lchan = NULL; conn->secondary_lchan = NULL; - osmo_timer_del(&conn->T10); - return 0; } @@ -712,7 +705,6 @@ static void handle_release(struct gsm_subscriber_connection *conn, struct gsm_lc if (conn->secondary_lchan == lchan) { LOGPLCHAN(lchan, DMSC, LOGL_NOTICE, "lchan release on new lchan, Assignment failed\n"); - osmo_timer_del(&conn->T10); conn->secondary_lchan = NULL; bsc_assign_fail(conn, GSM0808_CAUSE_RADIO_INTERFACE_FAILURE, NULL); |