diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-11-08 10:09:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-12 14:22:46 +0000 |
commit | 4aa2bac0bc7303f1e2781ba0d2c1e0934767b4df (patch) | |
tree | 73c185299b601f51b839428833dbe1ca4c3e6d39 /src | |
parent | 2a4c077fca609711902ab8ed713500a6ac654200 (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
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_mgcp.c | 4 |
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); |