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:
parent
2a4c077fca
commit
4aa2bac0bc
|
@ -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)
|
static void handle_error(struct mgcp_ctx *mgcp_ctx, enum int_cause_code cause)
|
||||||
{
|
{
|
||||||
struct osmo_fsm_inst *fi;
|
struct osmo_fsm_inst *fi;
|
||||||
struct osmo_bsc_sccp_con *conn;
|
|
||||||
|
|
||||||
OSMO_ASSERT(mgcp_ctx);
|
OSMO_ASSERT(mgcp_ctx);
|
||||||
conn = mgcp_ctx->conn;
|
|
||||||
OSMO_ASSERT(conn);
|
|
||||||
|
|
||||||
fi = mgcp_ctx->fsm;
|
fi = mgcp_ctx->fsm;
|
||||||
OSMO_ASSERT(fi);
|
OSMO_ASSERT(fi);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue