[MERGED] osmo-bsc[master]: cosmetic: remove dead code and obsolete fixmes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Mar 22 12:55:48 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: cosmetic: remove dead code and obsolete fixmes
......................................................................


cosmetic: remove dead code and obsolete fixmes

Change-Id: Ib171f4b5697c04603a20ffc6ebd617260a38ccb4
Related: OS#2823
---
M src/osmo-bsc/osmo_bsc_audio.c
1 file changed, 2 insertions(+), 17 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/osmo_bsc_audio.c b/src/osmo-bsc/osmo_bsc_audio.c
index 99a3ebd..8eef8d2 100644
--- a/src/osmo-bsc/osmo_bsc_audio.c
+++ b/src/osmo-bsc/osmo_bsc_audio.c
@@ -75,23 +75,8 @@
 		if (con->ho) {
 			LOGPHO(con->ho, LOGL_DEBUG, "BTS sent MDCX ACK\n");
 			/* No need to do anything for handover here. As soon as a HANDOVER DETECT
-			 * happens, osmo_bsc_mgcp.c will trigger the MGCP MDCX towards MGW by
-			 * receiving an S_LCHAN_HANDOVER_DETECT signal.
-			 *
-			 * FIXME: This will not work, osmo_bsc_mgcp.c is now removed. The
-			 * switchover must be handled by the GSCON FSM because there we
-			 * we instantiate the child FSMs which handle the MGCP traffic. */
-#if 0
-/* FIXME: This does not work anymore, we will have to implement this in the GSCON FSM */
-			/* NOTE: When an ho_lchan exists, the MDCX is part of an
-			 * handover operation (intra-bsc). This means we will not
-			 * inform the MSC about the event, which means that no
-			 * assignment complete message is transmitted, we just
-			 * inform the logic that controls the MGW about the new
-			 * connection info */
-			LOGP(DMSC, LOGL_INFO,"RTP connection handover initiated...\n");
-			mgcp_handover(con->user_plane.mgcp_ctx, con->ho_lchan);
-#endif
+			 * happens, handover_logic.c and bsc_subscr_conn_fsm.c  will trigger the
+			 * MGCP MDCX towards MGW by receiving an S_LCHAN_HANDOVER_DETECT signal. */
 		} else if (is_ipaccess_bts(conn_get_bts(con)) && con->user_plane.rtp_ip) {
 			/* NOTE: This is only relevant on AoIP networks with
 			 * IPA based base stations. See also osmo_bsc_api.c,

-- 
To view, visit https://gerrit.osmocom.org/7426
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib171f4b5697c04603a20ffc6ebd617260a38ccb4
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list