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:
parent
ffbc618a13
commit
efd09d0b77
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue