diff options
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 15:59:10 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 17:03:36 +0200
commitc902bd40327643c161aefbd71bbf8c5583051f17 (patch)
parentad21c3b8e384f9dcfd6ee8becb15fe2f9d1869ba (diff)
msc_paging_request(): remove unused parameters
The network is known from subscr; the type is not applicable after MSCSPLIT; cbfn and data are obsoleted by explicit subscr_rx_paging_response().
1 files changed, 2 insertions, 4 deletions
diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c
index 43c413255..1a730f866 100644
--- a/openbsc/src/libmsc/gsm_subscriber.c
+++ b/openbsc/src/libmsc/gsm_subscriber.c
@@ -142,8 +142,7 @@ int subscr_rx_paging_response(struct msgb *msg,
return -1;
-static int msc_paging_request(struct gsm_network *network, struct gsm_subscriber *subscr,
- int type, gsm_cbfn *cbfn, void *data)
+static int msc_paging_request(struct gsm_subscriber *subscr)
/* The subscriber was last seen in subscr->lac. Find out which
* BSCs/RNCs are responsible and send them a paging request via open
@@ -166,8 +165,7 @@ struct subscr_request *subscr_request_conn(struct gsm_subscriber *subscr,
if (!subscr->is_paging) {
LOGP(DMM, LOGL_DEBUG, "Subscriber %s not paged yet, start paging.\n",
- rc = msc_paging_request(subscr->group->net, subscr, channel_type,
- subscr_paging_cb, subscr);
+ rc = msc_paging_request(subscr);
if (rc <= 0) {
LOGP(DMM, LOGL_ERROR, "Subscriber %s paging failed: %d\n",
subscr_name(subscr), rc);