From 94890021a82d81940febc361773e099367d8893e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 4 May 2022 15:16:47 +0200 Subject: [PATCH] Remove commented out code This code is not used currently. Furthemore, it makes little sense to transmit an OPSTART if the BTS already told us it is enabled (because OPSTART is what moves the BTS into operational enabled state). Change-Id: I2c65e0803fbde7de9497089b562275baad58936a --- src/osmo-bsc/abis_nm.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c index bb44c70dc..e63f3da79 100644 --- a/src/osmo-bsc/abis_nm.c +++ b/src/osmo-bsc/abis_nm.c @@ -305,15 +305,6 @@ static int abis_nm_rx_statechg_rep(struct msgb *mb) } else { DEBUGPC(DNM, "(No State change detected)\n"); } -#if 0 - if (op_state == 1) { - /* try to enable objects that are disabled */ - abis_nm_opstart(bts, foh->obj_class, - foh->obj_inst.bts_nr, - foh->obj_inst.trx_nr, - foh->obj_inst.ts_nr); - } -#endif return 0; }