pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/33252 )
Change subject: mgcp-client: Drop unused struct mgcp_client field ......................................................................
mgcp-client: Drop unused struct mgcp_client field
Change-Id: I0b2c4a83ca0e59e54bf5e2af289e4e1fe4f0cf27 --- M include/osmocom/mgcp_client/mgcp_client_internal.h M src/libosmo-mgcp-client/mgcp_client.c 2 files changed, 9 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/52/33252/1
diff --git a/include/osmocom/mgcp_client/mgcp_client_internal.h b/include/osmocom/mgcp_client/mgcp_client_internal.h index 2eb9b4c..7e0cb4b 100644 --- a/include/osmocom/mgcp_client/mgcp_client_internal.h +++ b/include/osmocom/mgcp_client/mgcp_client_internal.h @@ -15,7 +15,6 @@ struct osmo_wqueue wq; mgcp_trans_id_t next_trans_id; struct llist_head responses_pending; - struct llist_head inuse_endpoints; struct mgcp_client_pool_member *pool_member; };
diff --git a/src/libosmo-mgcp-client/mgcp_client.c b/src/libosmo-mgcp-client/mgcp_client.c index 3208192..fc7d8e8 100644 --- a/src/libosmo-mgcp-client/mgcp_client.c +++ b/src/libosmo-mgcp-client/mgcp_client.c @@ -764,7 +764,6 @@ return NULL;
INIT_LLIST_HEAD(&mgcp->responses_pending); - INIT_LLIST_HEAD(&mgcp->inuse_endpoints);
mgcp->next_trans_id = 1;