diff options
author | Holger Freyther <zecke@selfish.org> | 2009-04-19 06:39:29 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-04-19 06:39:29 +0000 |
commit | bcdebbfcab2458a45c5e2d6da385deb54fd96ffb (patch) | |
tree | ee2b16ed4bdb536a067af2249dcee8c4197253fa | |
parent | c2995ea74128aedc9179bd1b4f126c94c7bd14d6 (diff) |
[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.
-rw-r--r-- | include/openbsc/gsm_data.h | 3 | ||||
-rw-r--r-- | src/bsc_hack.c | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h index 614c63d17..6c08b0399 100644 --- a/include/openbsc/gsm_data.h +++ b/include/openbsc/gsm_data.h @@ -252,9 +252,6 @@ struct gsm_paging_request { * 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 8bc1c6b95..46e9e45b4 100644 --- a/src/bsc_hack.c +++ b/src/bsc_hack.c @@ -804,12 +804,6 @@ static int set_system_infos(struct gsm_bts_trx *trx) } /* - * 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 @@ static int bootstrap_network(void) 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"); |