Change in osmo-bsc[master]: rsl_lchan_lookup: drop redundant condition

neels gerrit-no-reply at lists.osmocom.org
Sun Jun 13 16:21:29 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24653 )


Change subject: rsl_lchan_lookup: drop redundant condition
......................................................................

rsl_lchan_lookup: drop redundant condition

'vamos' is only set to true for osmobts types, hence no need to check
that condition again.

fixup for commit d37dcb9f6854a4d15dd2ba098fcbaa212251684f
'RSL: rx and tx VAMOS Channel Number cbits for VAMOS lchans'
I957eff0d2c33ec795eda75a4bff21965b0179f73

Related: CID#236318
Related: SYS#5315 OS#4940
Change-Id: I4d9afc2996d95fdc15ee1a04e31d781b595023e3
---
M src/osmo-bsc/bts_trx.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/53/24653/1

diff --git a/src/osmo-bsc/bts_trx.c b/src/osmo-bsc/bts_trx.c
index f183742..e42a894 100644
--- a/src/osmo-bsc/bts_trx.c
+++ b/src/osmo-bsc/bts_trx.c
@@ -225,7 +225,7 @@
 	if (rc && ok)
 		*rc = 0;
 
-	if (vamos && (trx->bts->model->type == GSM_BTS_TYPE_OSMOBTS))
+	if (vamos)
 		lch_idx += ts->max_primary_lchans;
 	return &ts->lchan[lch_idx];
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/24653
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I4d9afc2996d95fdc15ee1a04e31d781b595023e3
Gerrit-Change-Number: 24653
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210613/afaa7190/attachment.htm>


More information about the gerrit-log mailing list