diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-12-17 21:48:47 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-19 17:53:13 +0000 |
commit | d9956d91ba1504deae248b3e1978de5e584f275f (patch) | |
tree | 70264d70b10c321b1faba6e6749c587555b4ab98 /src/libcommon | |
parent | f8dc5262070585e9c1b0166cc8b17fc6ada208a1 (diff) |
Remove dead code left over from NITB split
There still is a lot of dead code that we inherited from the NITB
days, let's remove more of it.
libtrau will be re-introduced as part of osmo-mgw later.
Change-Id: I8e0af56a158f25a4f1384d667c03eb20e72df5b8
Diffstat (limited to 'src/libcommon')
-rw-r--r-- | src/libcommon/Makefile.am | 1 | ||||
-rw-r--r-- | src/libcommon/common_vty.c | 1 | ||||
-rw-r--r-- | src/libcommon/gsm_subscriber_base.c | 37 | ||||
-rw-r--r-- | src/libcommon/talloc_ctx.c | 4 |
4 files changed, 0 insertions, 43 deletions
diff --git a/src/libcommon/Makefile.am b/src/libcommon/Makefile.am index 6cfebc2da..ec997b76a 100644 --- a/src/libcommon/Makefile.am +++ b/src/libcommon/Makefile.am @@ -25,5 +25,4 @@ libcommon_a_SOURCES = \ gsm_data_shared.c \ socket.c \ talloc_ctx.c \ - gsm_subscriber_base.c \ $(NULL) diff --git a/src/libcommon/common_vty.c b/src/libcommon/common_vty.c index d4d5fb5ab..82327d190 100644 --- a/src/libcommon/common_vty.c +++ b/src/libcommon/common_vty.c @@ -26,7 +26,6 @@ #include <osmocom/bsc/vty.h> #include <osmocom/bsc/gsm_data.h> #include <osmocom/bsc/debug.h> -#include <osmocom/bsc/gsm_subscriber.h> #include <osmocom/bsc/bsc_nat.h> #include <osmocom/bsc/abis_om2000.h> diff --git a/src/libcommon/gsm_subscriber_base.c b/src/libcommon/gsm_subscriber_base.c deleted file mode 100644 index a746c2468..000000000 --- a/src/libcommon/gsm_subscriber_base.c +++ /dev/null @@ -1,37 +0,0 @@ -/* The concept of a subscriber as seen by the BSC */ - -/* (C) 2008 by Harald Welte <laforge@gnumonks.org> - * (C) 2009-2010 by Holger Hans Peter Freyther <zecke@selfish.org> - * (C) 2010 by On-Waves - * - * All Rights Reserved - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -#include <unistd.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <assert.h> - -#include <osmocom/core/talloc.h> -#include <osmocom/core/utils.h> -#include <osmocom/bsc/gsm_subscriber.h> -#include <osmocom/bsc/debug.h> - -LLIST_HEAD(active_subscribers); -void *tall_subscr_ctx; - diff --git a/src/libcommon/talloc_ctx.c b/src/libcommon/talloc_ctx.c index c8e9cd31d..9f64d75b3 100644 --- a/src/libcommon/talloc_ctx.c +++ b/src/libcommon/talloc_ctx.c @@ -32,8 +32,6 @@ extern void *tall_paging_ctx; extern void *tall_sigh_ctx; extern void *tall_tqe_ctx; extern void *tall_trans_ctx; -extern void *tall_map_ctx; -extern void *tall_upq_ctx; extern void *tall_ctr_ctx; void talloc_ctx_init(void *ctx_root) @@ -49,7 +47,5 @@ void talloc_ctx_init(void *ctx_root) tall_sigh_ctx = talloc_named_const(ctx_root, 0, "signal_handler"); tall_tqe_ctx = talloc_named_const(ctx_root, 0, "subch_txq_entry"); tall_trans_ctx = talloc_named_const(ctx_root, 0, "transaction"); - tall_map_ctx = talloc_named_const(ctx_root, 0, "trau_map_entry"); - tall_upq_ctx = talloc_named_const(ctx_root, 0, "trau_upq_entry"); tall_ctr_ctx = talloc_named_const(ctx_root, 0, "counter"); } |