laforge has submitted this change. (
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(+), 7 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
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
https://gerrit.osmocom.org/c/osmo-mgw/+/33252
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I0b2c4a83ca0e59e54bf5e2af289e4e1fe4f0cf27
Gerrit-Change-Number: 33252
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged