[bsc_hack] House keeping, remove dead code
This callback is not used from within the paging layer. We do
have a different set of callbacks in place. Remove it here.
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 614c63d..6c08b03 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -252,9 +252,6 @@
* to the gsm_bts, a timer and some more state.
*/
struct gsm_bts_paging_state {
- /* public callbacks */
- void (*channel_allocated)(struct gsm_lchan *lchan);
-
/* pending requests */
struct llist_head pending_requests;
struct gsm_paging_request *last_request;
diff --git a/src/bsc_hack.c b/src/bsc_hack.c
index 8bc1c6b..46e9e45 100644
--- a/src/bsc_hack.c
+++ b/src/bsc_hack.c
@@ -804,12 +804,6 @@
}
/*
- * Inform anyone...
- */
-static void bsc_hack_channel_allocated(struct gsm_lchan *lchan) {
-}
-
-/*
* Patch the various SYSTEM INFORMATION tables to update
* the LAI
*/
@@ -914,7 +908,6 @@
patch_tables(bts);
paging_init(bts);
- bts->paging.channel_allocated = bsc_hack_channel_allocated;
if (db_init(database_name, gsmnet)) {
printf("DB: Failed to init database. Please check the option settings.\n");