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
This commit is contained in:
Pau Espin 2021-03-15 18:12:39 +01:00
parent 7a7beb9b35
commit 8593b38616
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}