<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/26092">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis: Drop unneded if condition in else clause<br><br>priv->current_bsc will for sure be != last, otherwise it would have<br>entered the if clause above it.<br><br>Change-Id: I0a6519f7b93f0b45c67d19fef4f50daeeefc7340<br>---<br>M src/common/abis.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/92/26092/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/abis.c b/src/common/abis.c</span><br><span>index c0cd18c..06e6f3b 100644</span><br><span>--- a/src/common/abis.c</span><br><span>+++ b/src/common/abis.c</span><br><span>@@ -126,7 +126,7 @@</span><br><span> </span><br><span>      if (!priv->current_bsc || priv->current_bsc == last) /* Pick first one (wrap around): */</span><br><span>               priv->current_bsc = (struct bsc_oml_host *)llist_first_entry(&bts->bsc_oml_hosts, struct bsc_oml_host, list);</span><br><span style="color: hsl(0, 100%, 40%);">- else if (priv->current_bsc != last)</span><br><span style="color: hsl(120, 100%, 40%);">+        else</span><br><span>                 priv->current_bsc = (struct bsc_oml_host *)llist_entry(priv->current_bsc->list.next, struct bsc_oml_host, list);</span><br><span> </span><br><span>        return 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/26092">change 26092</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-bts/+/26092"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0a6519f7b93f0b45c67d19fef4f50daeeefc7340 </div>
<div style="display:none"> Gerrit-Change-Number: 26092 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>