aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-05 15:32:14 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-08 16:16:42 +0000
commitfc622c724133db3d8682101f725d07054000812f (patch)
tree7e881b007d34de7b3ea152e4b0a0e23344dfb406 /src
parent0abe84e679cc6bfa3c7db3dd78a7bee3cef91aa5 (diff)
drop dead code: conn->T10, handled by gscon instead
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/bsc_api.c8
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);