Change in osmo-bts[master]: bts-trx: Drop duplicate set of last_clk_ind

pespin gerrit-no-reply at lists.osmocom.org
Mon Mar 15 17:33:28 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/23367 )


Change subject: bts-trx: Drop duplicate set of last_clk_ind
......................................................................

bts-trx: Drop duplicate set of last_clk_ind

These fields are always aready set by the only caller of the function
trx_setup_clock(), so there's no use in re-setting them.

Change-Id: Id8a7141984e07eb11abae08e0c63ae7ebc333511
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/67/23367/1

diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index bf0650d..6e54d43 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -378,8 +378,6 @@
 	osmo_timerfd_schedule(&tcs->fn_timer_ofd, NULL, interval);
 
 	tcs->last_fn_timer.tv = *tv_now;
-	tcs->last_clk_ind.tv = *tv_now;
-	tcs->last_clk_ind.fn = fn;
 
 	return 0;
 }

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id8a7141984e07eb11abae08e0c63ae7ebc333511
Gerrit-Change-Number: 23367
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210315/f4d140c8/attachment.htm>


More information about the gerrit-log mailing list