<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18492">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp: remove unused callback pointer<br><br>struct mgcp_config contains a function pointer realloc_cb, which is<br>never popoulated nor used anywhere in the code. Lets remove it<br><br>Change-Id: I8d58281e1ff898638293c9e8cb000329462c7a70<br>---<br>M TODO-RELEASE<br>M include/osmocom/mgcp/mgcp.h<br>2 files changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/TODO-RELEASE b/TODO-RELEASE</span><br><span>index c5a3b36..741ab14 100644</span><br><span>--- a/TODO-RELEASE</span><br><span>+++ b/TODO-RELEASE</span><br><span>@@ -24,3 +24,4 @@</span><br><span> # If any interfaces have been removed or changed since the last public release, a=0.</span><br><span> #</span><br><span> #library             what            description / commit summary line</span><br><span style="color: hsl(120, 100%, 40%);">+libsomo-mgcp         ABI change      mgcp.h, struct mgcp_config, remove realloc_cb (unused)</span><br><span>\ No newline at end of file</span><br><span>diff --git a/include/osmocom/mgcp/mgcp.h b/include/osmocom/mgcp/mgcp.h</span><br><span>index 43f480e..8cdff59 100644</span><br><span>--- a/include/osmocom/mgcp/mgcp.h</span><br><span>+++ b/include/osmocom/mgcp/mgcp.h</span><br><span>@@ -59,7 +59,6 @@</span><br><span> #define MGCP_POLICY_REJECT 5</span><br><span> #define MGCP_POLICY_DEFER  6</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-typedef int (*mgcp_realloc)(struct mgcp_trunk_config *cfg, int endpoint);</span><br><span> typedef int (*mgcp_change)(struct mgcp_trunk_config *cfg, int endpoint, int state);</span><br><span> typedef int (*mgcp_policy)(struct mgcp_trunk_config *cfg, int endpoint, int state, const char *transactio_id);</span><br><span> typedef int (*mgcp_reset)(struct mgcp_trunk_config *cfg);</span><br><span>@@ -256,7 +255,6 @@</span><br><span>   mgcp_change change_cb;</span><br><span>       mgcp_policy policy_cb;</span><br><span>       mgcp_reset reset_cb;</span><br><span style="color: hsl(0, 100%, 40%);">-    mgcp_realloc realloc_cb;</span><br><span>     mgcp_rqnt rqnt_cb;</span><br><span>   void *data;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18492">change 18492</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-mgw/+/18492"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8d58281e1ff898638293c9e8cb000329462c7a70 </div>
<div style="display:none"> Gerrit-Change-Number: 18492 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>