laforge submitted this change.
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(+), 7 deletions(-)
diff --git a/include/osmocom/mgcp_client/mgcp_client_internal.h b/include/osmocom/mgcp_client/mgcp_client_internal.h
index 2eb9b4c..4e97a48 100644
--- a/include/osmocom/mgcp_client/mgcp_client_internal.h
+++ b/include/osmocom/mgcp_client/mgcp_client_internal.h
@@ -15,15 +15,9 @@
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;
};
-struct mgcp_inuse_endpoint {
- struct llist_head entry;
- uint16_t id;
-};
-
struct mgcp_response_pending {
struct llist_head entry;
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;
To view, visit change 33252. To unsubscribe, or for help writing mail filters, visit settings.