diff options
author | Max <msuraev@sysmocom.de> | 2018-01-04 10:29:06 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-05 10:06:44 +0000 |
commit | 1adfc52a72d5546d08d2acaa2a825ae0ff6cef14 (patch) | |
tree | 3557382bc2ae43462e0599a87962c0a4ceec9111 /src/common/gsm_data_shared.c | |
parent | 667b0f1fe56256665dd8ef513369ea7ad685bde3 (diff) |
Remove BSC-specific parts
The dead code is from before repo-split time.
Change-Id: I9d4ee8d55a4096bf47407c7d2bdbf3063bf1666e
Diffstat (limited to 'src/common/gsm_data_shared.c')
-rw-r--r-- | src/common/gsm_data_shared.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c index f4fda55f..aa012bcc 100644 --- a/src/common/gsm_data_shared.c +++ b/src/common/gsm_data_shared.c @@ -271,9 +271,7 @@ struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts) name = gsm_lchan_name_compute(lchan); lchan->name = talloc_strdup(trx, name); -#ifndef ROLE_BSC INIT_LLIST_HEAD(&lchan->sapi_cmds); -#endif } } @@ -679,17 +677,13 @@ uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan, break; default: case GSM_PCHAN_CCCH: -#ifdef ROLE_BSC - OSMO_ASSERT(lchan_nr == 0); -#else - /* + /* OSMO_ASSERT(lchan_nr == 0); * FIXME: On octphy and litecell, we hit above assertion (see * Max's comment at https://gerrit.osmocom.org/589 ); disabled * for BTS until this is clarified; remove the #ifdef when it * is fixed. */ #warning "fix caller that passes lchan_nr != 0" -#endif cbits = 0x10; break; } |