diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-03-21 13:44:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-04-02 19:33:11 +0000 |
commit | c74a5616bf1c77ac40ddd92f4927dca7a1b45bc8 (patch) | |
tree | 371943a51347f1de40b1a9627ff5f5d2758e14c6 /src/osmo-bsc/osmo_bsc_api.c | |
parent | e34161832d936959640d5e5735dfa1ca7bccae13 (diff) |
cosmetic: remove dead code
There is a lot of dead code in osmo_bsc_msc.c that used to handle
the IPA multiplexed SSCP lite A interface.
- remove portions of the dead code
- remove IPA Ping related VTY commands
Change-Id: I5cf3fec31cc774c902f3cfe6d16fb85ef301694a
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_api.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_api.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/osmo-bsc/osmo_bsc_api.c b/src/osmo-bsc/osmo_bsc_api.c index b80eb584c..239bb543c 100644 --- a/src/osmo-bsc/osmo_bsc_api.c +++ b/src/osmo-bsc/osmo_bsc_api.c @@ -237,18 +237,8 @@ static int complete_layer3(struct gsm_subscriber_connection *conn, { int con_type, rc, lu_cause; char *imsi = NULL; - struct timeval tv; struct msgb *resp; enum bsc_con ret; - int send_ping = msc->advanced_ping; - - /* Advanced ping/pong handling */ - if (osmo_timer_pending(&msc->pong_timer)) - send_ping = 0; - if (msc->ping_timeout <= 0) - send_ping = 0; - if (send_ping && osmo_timer_remaining(&msc->ping_timer, NULL, &tv) == -1) - send_ping = 0; /* Check the filter */ rc = bsc_filter_initial(msc->network->bsc_data, msc, conn, msg, |