Change in osmo-bsc[master]: drop chan_load_samples_idx initalization from bootstrap_bts()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Oct 13 03:44:32 UTC 2021


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


Change subject: drop chan_load_samples_idx initalization from bootstrap_bts()
......................................................................

drop chan_load_samples_idx initalization from bootstrap_bts()

The index counter bts->chan_load_samples_idx is initialized to 0 in
bootstrap_bts. Since the bts object is allocated using talloc it is
already guaranteed that everything is set to zero. So we do not need to
initalize chan_load_samples_idx.

Change-Id: Ia75e59c44c3ccd653a2614c2cda7519faf999f09
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 0 insertions(+), 2 deletions(-)



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

diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 4e2210f..28a56a7 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -512,8 +512,6 @@
 
 	bts->si_common.ncc_permitted = 0xff;
 
-	bts->chan_load_samples_idx = 0;
-
 	/* ACC ramping is initialized from vty/config */
 
 	/* Initialize the BTS state */

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia75e59c44c3ccd653a2614c2cda7519faf999f09
Gerrit-Change-Number: 25764
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211013/2909ee4b/attachment.htm>


More information about the gerrit-log mailing list