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 /src/libcommon/common_vty.c | |
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 'src/libcommon/common_vty.c')
-rw-r--r-- | src/libcommon/common_vty.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libcommon/common_vty.c b/src/libcommon/common_vty.c index 6037dda6f..71c607ec2 100644 --- a/src/libcommon/common_vty.c +++ b/src/libcommon/common_vty.c @@ -42,25 +42,11 @@ int bsc_vty_go_parent(struct vty *vty) vty->node = CONFIG_NODE; vty->index = NULL; break; - case TS_NODE: - vty->node = TRX_NODE; - { - /* set vty->index correctly ! */ - struct gsm_bts_trx_ts *ts = vty->index; - vty->index = ts->trx; - vty->index_sub = &ts->trx->description; - } - break; - case TRUNK_NODE: - vty->node = MGCP_NODE; - vty->index = NULL; - break; case SMPP_ESME_NODE: vty->node = SMPP_NODE; vty->index = NULL; break; case SMPP_NODE: - case MGCP_NODE: case MSC_NODE: case MNCC_INT_NODE: vty->node = CONFIG_NODE; |