From 4aa2bac0bc7303f1e2781ba0d2c1e0934767b4df Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 8 Nov 2017 10:09:35 +0100 Subject: 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 --- src/osmo-bsc/osmo_bsc_mgcp.c | 4 ---- 1 file changed, 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); -- cgit v1.2.3