gscon_ensure_mgw_endpoint(): Set mgw_enpoint ptr to NULL not needed
The condition prior to this conditional branch already asserts the var is NULL. Change-Id: I94c9532045c657fc07e4ad53d567847915bae367
This commit is contained in:
parent
9d17451a0d
commit
7048d2f0ae
|
@ -700,7 +700,6 @@ struct osmo_mgcpc_ep *gscon_ensure_mgw_endpoint(struct gsm_subscriber_connection
|
|||
if (!mgcp_client) {
|
||||
LOGPFSML(conn->fi, LOGL_ERROR,
|
||||
"cannot ensure MGW endpoint -- no MGW configured, check configuration!\n");
|
||||
conn->user_plane.mgw_endpoint = NULL;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue