aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-11-08 10:09:35 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-12 14:22:46 +0000
commit4aa2bac0bc7303f1e2781ba0d2c1e0934767b4df (patch)
tree73c185299b601f51b839428833dbe1ca4c3e6d39
parent2a4c077fca609711902ab8ed713500a6ac654200 (diff)
mgcp: remove unused variable
The function handle_error asserts mgcp_ctx->conn to be non null, but it does not access it otherwise. remove unused variable conn Change-Id: I09851c957395d1ddb2f9471b99ffc091bc250404
-rw-r--r--src/osmo-bsc/osmo_bsc_mgcp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c
index aa008a8da..f0c31df52 100644
--- a/src/osmo-bsc/osmo_bsc_mgcp.c
+++ b/src/osmo-bsc/osmo_bsc_mgcp.c
@@ -151,12 +151,8 @@ static const struct value_string fsm_evt_names[] = {
static void handle_error(struct mgcp_ctx *mgcp_ctx, enum int_cause_code cause)
{
struct osmo_fsm_inst *fi;
- struct osmo_bsc_sccp_con *conn;
OSMO_ASSERT(mgcp_ctx);
- conn = mgcp_ctx->conn;
- OSMO_ASSERT(conn);
-
fi = mgcp_ctx->fsm;
OSMO_ASSERT(fi);