aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-15 18:12:39 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-15 18:12:41 +0100
commit8593b386167e285b467d1a8b4feb3842f83dd211 (patch)
treea03e590ba3ecdda7a8cc1bc7525c888d6b5f555e /src
parent7a7beb9b35d6b8507a9a3b282a248c8564faf972 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index bf0650d5..6e54d43d 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -378,8 +378,6 @@ static int trx_setup_clock(struct gsm_bts *bts, struct osmo_trx_clock_state *tcs
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;
}