aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcommon/gsm_data_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcommon/gsm_data_shared.c')
-rw-r--r--src/libcommon/gsm_data_shared.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libcommon/gsm_data_shared.c b/src/libcommon/gsm_data_shared.c
index 84a71cba3..b001562cd 100644
--- a/src/libcommon/gsm_data_shared.c
+++ b/src/libcommon/gsm_data_shared.c
@@ -271,9 +271,6 @@ 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 +676,7 @@ 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
- /*
- * 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;
}