diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-19 20:46:51 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-19 20:46:51 +0200 |
commit | c373448e03f12f8f7e5da1d894d63d7bc79eef4a (patch) | |
tree | 6bda0129c64c4ef49c450355783703dc633cfb52 /src/common/bts.c | |
parent | 7899dc5fcfa49febd50cb113cc8ef45f32dacc9d (diff) |
fix various compiler warnings across the code
this deals with unused cocde, unused variables and undeclared symbols in
various places.
Diffstat (limited to 'src/common/bts.c')
-rw-r--r-- | src/common/bts.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/common/bts.c b/src/common/bts.c index 88b118f6..b228341d 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -389,36 +389,6 @@ int trx_link_estab(struct gsm_bts_trx *trx) return 0; } -void bts_new_si(void *arg) -{ - struct osmobts_trx *trx = arg; - -#if 0 - if (osmo_timer_pending(&trx->si.timer)) - return; - - i = 0; - while(i < BTS_SI_NUM) { - if ((trx->si.flags[i] & BTS_SI_NEW)) - break; - i++; - } - if (i == BTS_SI_NUM) - return; - if ((trx->si.flags[i] & BTS_SI_USE)) - LOGP(DSUM, LOGL_INFO, "Setting SYSTEM INFORMATION %s.\n", bts_si_name[i]); - else - LOGP(DSUM, LOGL_INFO, "Removing SYSTEM INFORMATION %s.\n", bts_si_name[i]); - trx->si.flags[i] &= ~BTS_SI_NEW; - /* distribute */ - printf("TODO: send SI update to L1\n"); - /* delay until next SI */ - trx->si.timer.cb = bts_new_si; - trx->si.timer.data = trx; - osmo_timer_schedule(&trx->si.timer, 0, 200000); -#endif -} - int lchan_init_lapdm(struct gsm_lchan *lchan) { struct lapdm_channel *lc = &lchan->lapdm_ch; |