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
This commit is contained in:
Philipp Maier 2017-11-08 10:09:35 +01:00 committed by Harald Welte
parent 2a4c077fca
commit 4aa2bac0bc
1 changed files with 0 additions and 4 deletions

View File

@ -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);