diff options
authorPhilipp Maier <pmaier@sysmocom.de>2018-09-12 16:48:53 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-09-17 14:55:13 +0200
commitef121b2408f2374f2b2881e698c3f88cdcbb39e8 (patch)
parent7f52bdadbd66c015cde6f30b6a1dd86fcc03fa96 (diff)
gsm_data: remove unused struct member chan_mode
Remove unused gsm_subscriber_connection.user_plane.chan_mode. There is only one VTY command that displays it along other parameters, but it is used no where else. Lets remove it. It was forgotten to be removed in: commit 31f525e7560ad13e32cfc5e0b5f1862c0efcb991 Date Mon May 14 18:14:15 2018 +0200 "large refactoring: use FSMs for lchans; add inter-BSC HO" change-id I82e3f918295daa83274a4cf803f046979f284366 Change-Id: I10049c14ea206a4daafbdad01634d57c72a79d7c
2 files changed, 1 insertions, 6 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 5a922d12e..33a5a8dc6 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -268,10 +268,6 @@ struct gsm_subscriber_connection {
/* The connection identifier of the mgw_endpoint used to transceive RTP towards the MSC.
* (The BTS side CI is handled by struct gsm_lchan and the lchan_fsm.) */
struct mgwep_ci *mgw_endpoint_ci_msc;
- /* Channel mode requested by the MSC (signalling or voice channel) */
- enum gsm48_chan_mode chan_mode;
} user_plane;
/* LCLS (local call, local switch) related state */
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index b1938e6e3..d06ec578f 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -1472,9 +1472,8 @@ DEFUN(show_lchan_summary,
static void dump_one_subscr_conn(struct vty *vty, const struct gsm_subscriber_connection *conn)
- vty_out(vty, "conn ID=%u, MSC=%u, hodec2_fail=%d, mode=%s, mgw_ep=%s%s",
+ vty_out(vty, "conn ID=%u, MSC=%u, hodec2_fail=%d, mgw_ep=%s%s",
conn->sccp.conn_id, conn->sccp.msc->nr, conn->hodec2.failures,
- get_value_string(gsm48_chan_mode_names, conn->user_plane.chan_mode),
mgw_endpoint_name(conn->user_plane.mgw_endpoint), VTY_NEWLINE);
if (conn->lcls.global_call_ref_len) {
vty_out(vty, " LCLS GCR: %s%s",