mgcp_protocol: remove unused variable

The function allocate_port() has pointer a variable end, it even does an
OSMO_ASSERT on it, but it never uses it. Lets remove it.

Change-Id: I369361389c6276e5511c683ebd630093713bdd37
This commit is contained in:
Philipp Maier 2020-07-23 21:54:31 +02:00 committed by Harald Welte
parent ffbc618a13
commit efd09d0b77
1 changed files with 0 additions and 3 deletions

View File

@ -370,13 +370,10 @@ static struct msgb *handle_audit_endpoint(struct mgcp_parse_data *p)
static int allocate_port(struct mgcp_endpoint *endp, struct mgcp_conn_rtp *conn)
{
int i;
struct mgcp_rtp_end *end;
struct mgcp_port_range *range;
unsigned int tries;
OSMO_ASSERT(conn);
end = &conn->end;
OSMO_ASSERT(end);
range = &endp->cfg->net_ports;