From 214302b306d6806605e1bec123dc97934f9f6504 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 2 May 2016 15:31:05 +0200 Subject: cosmetic: subscr_paging_dispatch() comments/indent --- openbsc/src/libmsc/gsm_subscriber.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'openbsc') diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c index ddaf32c28..6034968c3 100644 --- a/openbsc/src/libmsc/gsm_subscriber.c +++ b/openbsc/src/libmsc/gsm_subscriber.c @@ -57,12 +57,9 @@ static struct gsm_subscriber *get_subscriber(struct gsm_subscriber_group *sgrp, return subscr; } -/* - * We got the channel assigned and can now hand this channel - * over to one of our callbacks. - */ +/* A connection is established and the paging callbacks may run now. */ static int subscr_paging_dispatch(unsigned int hooknum, unsigned int event, - struct msgb *msg, void *data, void *param) + struct msgb *msg, void *data, void *param) { struct subscr_request *request, *tmp; struct gsm_subscriber_connection *conn = data; @@ -111,7 +108,6 @@ static int subscr_paging_sec_cb(unsigned int hooknum, unsigned int event, switch (event) { case GSM_SECURITY_AUTH_FAILED: - /* Dispatch as paging failure */ rc = subscr_paging_dispatch( GSM_HOOK_RR_PAGING, GSM_PAGING_EXPIRED, msg, data, param); @@ -119,7 +115,6 @@ static int subscr_paging_sec_cb(unsigned int hooknum, unsigned int event, case GSM_SECURITY_NOAVAIL: case GSM_SECURITY_SUCCEEDED: - /* Dispatch as paging failure */ rc = subscr_paging_dispatch( GSM_HOOK_RR_PAGING, GSM_PAGING_SUCCEEDED, msg, data, param); -- cgit v1.2.3