summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/gsm_subscriber.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmsc/gsm_subscriber.c')
-rw-r--r--openbsc/src/libmsc/gsm_subscriber.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c
index 345dda8..7b66299 100644
--- a/openbsc/src/libmsc/gsm_subscriber.c
+++ b/openbsc/src/libmsc/gsm_subscriber.c
@@ -419,33 +419,6 @@ void subscr_expire(struct gsm_subscriber_group *sgrp)
db_subscriber_expire(sgrp->net, subscr_expire_callback);
}
-struct gsm_subscriber_connection *msc_subscr_con_allocate(struct gsm_network *network)
-{
- struct gsm_subscriber_connection *conn;
-
- conn = talloc_zero(network, struct gsm_subscriber_connection);
- if (!conn)
- return NULL;
-
- conn->network = network;
- llist_add_tail(&conn->entry, &network->subscr_conns);
- return conn;
-}
-
-void msc_subscr_con_free(struct gsm_subscriber_connection *conn)
-{
- if (!conn)
- return;
-
- if (conn->subscr) {
- subscr_put(conn->subscr);
- conn->subscr = NULL;
- }
-
- llist_del(&conn->entry);
- talloc_free(conn);
-}
-
bool subscr_authorized(struct gsm_subscriber *subscriber)
{
switch (subscriber->group->net->auth_policy) {