summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/gsm_subscriber.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-06 09:55:10 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-29 18:53:27 +0200
commit0759b1b9522f0a4f8256671b9098f7bc493c3a99 (patch)
tree98a883faa13b76aadd8b5d51b0dc8b0af9345f10 /openbsc/src/libmsc/gsm_subscriber.c
parent0ae564d9b1fcee46cd77ccc83c570376d0526c8c (diff)
sub: Remove introspection of the "channel queue"
Over the next commits the queuing of commits will be completely modified to remove the queue and move the scheduling/limits to the outer callers.
Diffstat (limited to 'openbsc/src/libmsc/gsm_subscriber.c')
-rw-r--r--openbsc/src/libmsc/gsm_subscriber.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c
index c444fe058..9037e89d5 100644
--- a/openbsc/src/libmsc/gsm_subscriber.c
+++ b/openbsc/src/libmsc/gsm_subscriber.c
@@ -443,48 +443,3 @@ void subscr_expire(struct gsm_subscriber_group *sgrp)
{
db_subscriber_expire(sgrp->net, subscr_expire_callback);
}
-
-int subscr_pending_requests(struct gsm_subscriber *sub)
-{
- struct subscr_request *req;
- int pending = 0;
-
- llist_for_each_entry(req, &sub->requests, entry)
- pending += 1;
-
- return pending;
-}
-
-int subscr_pending_clear(struct gsm_subscriber *sub)
-{
- int deleted = 0;
- struct subscr_request *req, *tmp;
-
- llist_for_each_entry_safe(req, tmp, &sub->requests, entry) {
- subscr_put(req->subscr);
- llist_del(&req->entry);
- talloc_free(req);
- deleted += 1;
- }
-
- return deleted;
-}
-
-int subscr_pending_dump(struct gsm_subscriber *sub, struct vty *vty)
-{
- struct subscr_request *req;
-
- vty_out(vty, "Pending Requests for Subscriber %llu.%s", sub->id, VTY_NEWLINE);
- llist_for_each_entry(req, &sub->requests, entry) {
- vty_out(vty, "Channel type: %d State: %d Sub: %llu.%s",
- req->channel_type, req->state, req->subscr->id, VTY_NEWLINE);
- }
-
- return 0;
-}
-
-int subscr_pending_kick(struct gsm_subscriber *sub)
-{
- subscr_put_channel(sub);
- return 0;
-}