<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15627">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15627/1/src/common/phy_link.c">File src/common/phy_link.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/15627/1/src/common/phy_link.c@84">Patch Set #1, Line 84:</a> <code style="font-family:monospace,monospace">phy_link_state_get</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">What is the point? Just a function to get field's value, that can be accessed directly?<br>I am definitely against this 'helper'.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15627/1/src/osmo-bts-trx/trx_vty.c">File src/osmo-bts-trx/trx_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/15627/1/src/osmo-bts-trx/trx_vty.c@78">Patch Set #1, Line 78:</a> <code style="font-family:monospace,monospace">phy_link_state_get(plink)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You can access the field directly: plink->state. It's even shorter.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15627">change 15627</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/+/15627"/><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: I8e49f8edad9f9c68d110dbb7faeea5143aa91022 </div>
<div style="display:none"> Gerrit-Change-Number: 15627 </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-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 05 Oct 2019 11:30:27 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>