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:
Pau Espin 2022-10-17 17:54:00 +02:00
parent 9d17451a0d
commit 7048d2f0ae
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}
}